nghttp2-paketlendi

This commit is contained in:
milisbir 2018-10-27 01:47:55 +03:00
parent a143aa5b43
commit 11cc8fa129
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# Tanım: HTTP/2 sunucu ve kullanılabilir C kütüphanesi
# URL: https://nghttp2.org/
# Paketçi: milisarge
# Gerekler: libev libxml2 jansson jemalloc c-ares libnghttp2
# Grup: ağ
isim=nghttp2
surum=1.34.0
devir=1
kaynak=(https://github.com/nghttp2/nghttp2/releases/download/v${surum}/nghttp2-${surum}.tar.xz)
derle() {
cd nghttp2-$surum
autoreconf -i
./configure \
--prefix=/usr \
--disable-python-bindings
make
make check
make DESTDIR="$PKG" install
make -C lib DESTDIR="$PKG" uninstall
install -Dm644 contrib/nghttpx-logrotate "$PKG/etc/logrotate.d/nghttpx"
install -Dm644 nghttpx.conf.sample "$PKG/etc/nghttpx/nghttpx.conf"
install -Dm644 COPYING "$PKG/usr/share/licenses/nghttp2/COPYING"
rm -rf $PKG/usr/share/nghttp2
rm -rf $PKG/usr/{lib,include}
}