talimat 773 B

12345678910111213141516171819202122232425262728
  1. # Tanım: HTTP/2 sunucu ve kullanılabilir C kütüphanesi
  2. # URL: https://nghttp2.org/
  3. # Paketçi: milisarge
  4. # Gerekler: libev libxml2 jansson jemalloc c-ares libnghttp2
  5. # Grup: ağ
  6. isim=nghttp2
  7. surum=1.34.0
  8. devir=1
  9. kaynak=(https://github.com/nghttp2/nghttp2/releases/download/v${surum}/nghttp2-${surum}.tar.xz)
  10. derle() {
  11. cd nghttp2-$surum
  12. autoreconf -i
  13. ./configure \
  14. --prefix=/usr \
  15. --disable-python-bindings
  16. make
  17. make check
  18. make DESTDIR="$PKG" install
  19. make -C lib DESTDIR="$PKG" uninstall
  20. install -Dm644 contrib/nghttpx-logrotate "$PKG/etc/logrotate.d/nghttpx"
  21. install -Dm644 nghttpx.conf.sample "$PKG/etc/nghttpx/nghttpx.conf"
  22. install -Dm644 COPYING "$PKG/usr/share/licenses/nghttp2/COPYING"
  23. rm -rf $PKG/usr/share/nghttp2
  24. rm -rf $PKG/usr/{lib,include}
  25. }