34 lines
941 B
Bash
34 lines
941 B
Bash
# Template file for 'nghttp2'
|
|
pkgname=nghttp2
|
|
version=1.39.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--without-libxml2 --without-jemalloc --without-spdylay
|
|
--disable-examples"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel libressl-devel libevent-devel jansson-devel
|
|
libev-devel c-ares-devel"
|
|
checkdepends="libcppunit-devel"
|
|
short_desc="HTTP/2 C Library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://nghttp2.org"
|
|
distfiles="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz"
|
|
checksum=a2d216450abd2beaf4e200c168957968e89d602ca4119338b9d7ab059fd4ce8b
|
|
|
|
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
|
|
}
|
|
}
|