35 lines
957 B
Bash
35 lines
957 B
Bash
# Template file for 'nghttp2'
|
|
pkgname=nghttp2
|
|
version=1.56.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
# build system errors out if python isn't available
|
|
configure_args="--disable-python-bindings"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel openssl-devel libevent-devel jansson-devel
|
|
libev-devel c-ares-devel"
|
|
checkdepends="libcppunit-devel"
|
|
short_desc="HTTP/2 C Library"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://nghttp2.org"
|
|
distfiles="https://github.com/nghttp2/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz"
|
|
checksum=65eee8021e9d3620589a4a4e91ce9983d802b5229f78f3313770e13f4d2720e9
|
|
python_version=3
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share/man
|
|
vlicense COPYING
|
|
}
|
|
|
|
nghttp2-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|