milis/talimatname/genel/n/nghttp2/talimat

28 lines
773 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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