summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-07 04:59:52 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-07 04:59:52 -0500
commit928dc34f42f54721e7e77b1c9709a7659c7f13e0 (patch)
tree8763c4de4dd14dc354cc885e5aaf5fdf39b49fd2 /user
parent775df51b567e7e4c541f89baa5c082aefde0dc74 (diff)
downloadpackages-928dc34f42f54721e7e77b1c9709a7659c7f13e0.tar.gz
packages-928dc34f42f54721e7e77b1c9709a7659c7f13e0.tar.bz2
packages-928dc34f42f54721e7e77b1c9709a7659c7f13e0.tar.xz
packages-928dc34f42f54721e7e77b1c9709a7659c7f13e0.zip
user/nghttp2: pull in, bump, fix, modernise
Diffstat (limited to 'user')
-rw-r--r--user/nghttp2/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/nghttp2/APKBUILD b/user/nghttp2/APKBUILD
new file mode 100644
index 000000000..f3c0b14f9
--- /dev/null
+++ b/user/nghttp2/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
+pkgname=nghttp2
+pkgver=1.32.0
+pkgrel=0
+pkgdesc="Experimental HTTP/2 client, server and proxy"
+url="https://nghttp2.org/"
+arch="all"
+license="MIT"
+makedepends="c-ares-dev libev-dev libxml2-dev openssl-dev zlib-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+source="https://github.com/tatsuhiro-t/$pkgname/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-static \
+ --without-neverbleed \
+ --without-jemalloc \
+ --disable-python-bindings \
+ --enable-app
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ec7e417fbc5497861d2b6dde5145da1640b36441882824e85940e5ca6ac52ec444aa7123846960f7211dd96462eab421d39f9cc49454f3f52e0dcdb36402044e nghttp2-1.32.0.tar.xz"