libnghttp2 1.64.0-1

This commit is contained in:
xhaa123 2024-11-04 18:58:01 +08:00
parent 56ef3ce7f3
commit 49022e9098

View File

@ -5,28 +5,50 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=libnghttp2
pkgver=1.60.0
pkgver=1.64.0
pkgrel=1
pkgdesc="Framing layer of HTTP/2 is implemented as a reusable C library"
arch=('x86_64')
url="https://nghttp2.org/"
license=('MIT')
depends=('glibc')
source=(https://github.com/nghttp2/nghttp2/releases/download/v${pkgver}/${pkgname#lib}-${pkgver}.tar.xz)
sha256sums=(625d6c3da1d9ca4fd643a638256431ae68fd1901653b2a61a245eea7b261bf4e)
makedepends=('git')
source=(git+https://github.com/nghttp2/nghttp2.git#tag=v${pkgver}
git+https://github.com/ngtcp2/munit.git
git+https://github.com/mruby/mruby.git
git+https://github.com/tatsuhiro-t/neverbleed.git)
sha256sums=(SKIP
SKIP
SKIP
SKIP)
prepare() {
cd nghttp2
git config --file=.gitmodules submodule.tests/munit.url ${srcdir}/munit/
git config --file=.gitmodules submodule.third-party/mruby.url ${srcdir}/mruby/
git config --file=.gitmodules submodule.tests/neverbleed.url ${srcdir}/neverbleed/
git submodule init
git -c protocol.file.allow=always submodule update
autoreconf -i
}
build() {
cd ${pkgname#lib}-${pkgver}
cd nghttp2
${CONFIGURE} \
--disable-static \
--enable-lib-only
--enable-lib-only \
--disable-examples \
--disable-python-bindings
make
}
package() {
cd ${pkgname#lib}-${pkgver}
cd nghttp2
make -C lib DESTDIR=${pkgdir} install
}