From 11cc8fa129190cfef1f9fef8c71fd215dc6d796e Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 27 Oct 2018 01:47:55 +0300 Subject: [PATCH] nghttp2-paketlendi --- talimatname/genel/n/nghttp2/talimat | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 talimatname/genel/n/nghttp2/talimat diff --git a/talimatname/genel/n/nghttp2/talimat b/talimatname/genel/n/nghttp2/talimat new file mode 100644 index 000000000..0ff79bb0e --- /dev/null +++ b/talimatname/genel/n/nghttp2/talimat @@ -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} +}