28 lines
773 B
Plaintext
28 lines
773 B
Plaintext
|
# 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}
|
|||
|
}
|