# Tanım: Framing layer of HTTP/2 is implemented as a reusable C library
# URL: https://nghttp2.org/
# Paketçi: milisarge
# Gerekler: 
# Grup: kütüphane

isim=libnghttp2
surum=1.32.0
devir=1
kaynak=(https://github.com/nghttp2/nghttp2/releases/download/v1.32.0/nghttp2-1.32.0.tar.xz)

derle() {
  cd nghttp2-$surum
  autoreconf -i
  ./configure \
    --prefix=/usr \
    --disable-examples \
    --disable-python-bindings \
    --enable-lib-only
  make
  make check
  cd lib
  make DESTDIR="$PKG" install
  install -Dm644 ../COPYING "$PKG/usr/share/licenses/libnghttp2/COPYING"
}
