void-packages/srcpkgs/nghttp2/template
Nathan Owens fd6e4155a4 nghttp2: update to 1.40.0
Update to 1.40.0 and switch to cmake build

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-16 20:49:17 +01:00

33 lines
967 B
Bash

# Template file for 'nghttp2'
pkgname=nghttp2
version=1.40.0
revision=1
build_style=cmake
configure_args="-DWITH_LIBXML2=OFF -DWITH_JEMALLOC=OFF -DENABLE_EXAMPLES=OFF
-DENABLE_FAILMALLOC=OFF -DENABLE_STATIC_LIB=ON"
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=09fc43d428ff237138733c737b29fb1a7e49d49de06d2edbed3bc4cdcee69073
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
}
}