contrib/nghttp2-libs/Pkgfile

25 lines
623 B
Plaintext

# Description: nghttp2-libs: HTTP/2 libraries (for eg cURL)
# URL: https://nghttp2.org
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
rname=nghttp2
name=${rname}-libs
version=1.43.0
release=1
source=(https://github.com/${rname}/${rname}/releases/download/v${version}/${rname}-${version}.tar.xz)
build() {
cd ${rname}-${version}
./configure --prefix=/usr --enable-lib-only \
--without-libxml2 --without-mruby --without-neverbleed \
--without-systemd --without-jemalloc
make
make DESTDIR="${PKG}" install
rm -rf "${PKG}"/usr/share/doc "${PKG}"/usr/share/man
}
# s-sh-mode