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} +}