void-packages/srcpkgs/nghttp2/template
maxice8 c4669a15d6 nghttp2: update to 1.29.0.
Closes: #10130 [via git-merge-pr]
2017-12-28 15:38:03 +01:00

30 lines
858 B
Bash

# Template file for 'nghttp2'
pkgname=nghttp2
version=1.29.0
revision=1
build_style=gnu-configure
configure_args="--without-libxml2 --without-jemalloc --without-spdylay"
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel libevent-devel jansson-devel"
short_desc="HTTP/2 C Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://nghttp2.org"
distfiles="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz"
checksum=a7a1b18be57be6a53a7739988ea27d6ec9209e7b0e8372b8483cd911d7838739
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
}
}