libnghttp2 1.64.0-1
This commit is contained in:
parent
56ef3ce7f3
commit
49022e9098
34
PKGBUILD
34
PKGBUILD
@ -5,28 +5,50 @@
|
|||||||
|
|
||||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
pkgname=libnghttp2
|
pkgname=libnghttp2
|
||||||
pkgver=1.60.0
|
pkgver=1.64.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Framing layer of HTTP/2 is implemented as a reusable C library"
|
pkgdesc="Framing layer of HTTP/2 is implemented as a reusable C library"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://nghttp2.org/"
|
url="https://nghttp2.org/"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
source=(https://github.com/nghttp2/nghttp2/releases/download/v${pkgver}/${pkgname#lib}-${pkgver}.tar.xz)
|
makedepends=('git')
|
||||||
sha256sums=(625d6c3da1d9ca4fd643a638256431ae68fd1901653b2a61a245eea7b261bf4e)
|
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() {
|
build() {
|
||||||
cd ${pkgname#lib}-${pkgver}
|
cd nghttp2
|
||||||
|
|
||||||
${CONFIGURE} \
|
${CONFIGURE} \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-lib-only
|
--enable-lib-only \
|
||||||
|
--disable-examples \
|
||||||
|
--disable-python-bindings
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname#lib}-${pkgver}
|
cd nghttp2
|
||||||
|
|
||||||
make -C lib DESTDIR=${pkgdir} install
|
make -C lib DESTDIR=${pkgdir} install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user