void-packages/srcpkgs/nghttp2/template

31 lines
857 B
Bash
Raw Normal View History

2015-05-12 07:33:52 +02:00
# Template file for 'nghttp2'
pkgname=nghttp2
2015-08-31 09:19:40 +02:00
version=1.3.0
2015-05-16 07:37:25 +02:00
revision=1
2015-05-12 07:33:52 +02:00
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"
2015-08-31 09:19:40 +02:00
checksum=85be1e859cf310bd13204c58d1e4539cfb1d74eb5ef6b0146063fa2907d7b3f2
2015-05-12 07:33:52 +02:00
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
}
}