40 lines
826 B
Bash
40 lines
826 B
Bash
#!/usr/bin/env bash
|
|
name='libnghttp2'
|
|
release='4'
|
|
version='1.55.0'
|
|
url='https://github.com/nghttp2/nghttp2'
|
|
description='HTTP/2 C Library'
|
|
email=' aliriza.keskin@pardus.org.tr'
|
|
maintainer=' aliriza'
|
|
license=('MIT')
|
|
source=("https://github.com/nghttp2/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.gz")
|
|
depends=( )
|
|
makedepends=( )
|
|
md5sums=('82d82775a2823564b3ac371d2235215e')
|
|
arch=('x86_64')
|
|
group=(net.libs)
|
|
uses=(libxml2)
|
|
libxml2_depends=(libxml2)
|
|
|
|
cd nghttp2-$version
|
|
|
|
setup(){
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib64 \
|
|
--without-neverbleed \
|
|
--without-jemalloc \
|
|
--disable-examples \
|
|
--enable-static \
|
|
--enable-lib-only\
|
|
$(use_opt libxml2 --with-libxml2 --without-libxml2)
|
|
}
|
|
|
|
build(){
|
|
make $jobs
|
|
}
|
|
|
|
package(){
|
|
make install $jobs
|
|
}
|
|
|