core/libnghttp2/Pkgfile

21 lines
462 B
Plaintext

# Description: HTTP/2 C Library and tools
# URL: https://github.com/nghttp2/nghttp2/
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=libnghttp2
version=1.61.0
release=1
source=(https://github.com/nghttp2/nghttp2/releases/download/v$version/nghttp2-$version.tar.xz)
build() {
cd nghttp2-$version
./configure \
--prefix=/usr \
--enable-lib-only \
--disable-examples \
--disable-python-bindings
make
make -C lib DESTDIR=$PKG install
}