382dad7123
By ericonr: - python3 deps are necessary only if python bindings are being built, which nothing requires; disable them for now. If bindings switch to being built, following env vars are also needed for cross (found by skmpz): export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}" export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}" Closes: #28707 [via git-merge-pr]
34 lines
961 B
Bash
34 lines
961 B
Bash
# Template file for 'nghttp2'
|
|
pkgname=nghttp2
|
|
version=1.43.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 libressl-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/tatsuhiro-t/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz"
|
|
checksum=f7d54fa6f8aed29f695ca44612136fa2359013547394d5dffeffca9e01a26b0f
|
|
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
|
|
}
|
|
}
|