description="Framing layer of HTTP/2 is implemented as a reusable C library" 
url="https://nghttp2.org/"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=libnghttp2
version=1.68.0
release=1

source=(https://github.com/nghttp2/nghttp2/releases/download/v$version/nghttp2-$version.tar.xz)

build() {
  cd nghttp2-$version

  autoreconf -i
  ./configure \
    --prefix=/usr \
    --disable-examples \
    --disable-python-bindings \
    --enable-lib-only
  make

}

package() {
  cd nghttp2-$version/lib

  make DESTDIR="$PKG" install
}
