aboutsummaryrefslogtreecommitdiffstats
path: root/main/nghttp2/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-08-14 23:13:52 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-08-14 23:24:50 +0300
commitfd12ea78ded77bacc14f0d36dacca4d67f8d4315 (patch)
tree03603d0f4472eb8cd7c9ad2cda927c21bbe5c854 /main/nghttp2/APKBUILD
parent525fc08f4dd145821a6ed0cb838220044ddf6994 (diff)
downloadaports-fd12ea78ded77bacc14f0d36dacca4d67f8d4315.tar.bz2
aports-fd12ea78ded77bacc14f0d36dacca4d67f8d4315.tar.xz
main/nghttp2: moved from testing
Diffstat (limited to 'main/nghttp2/APKBUILD')
-rw-r--r--main/nghttp2/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/nghttp2/APKBUILD b/main/nghttp2/APKBUILD
new file mode 100644
index 0000000000..b7fc714f4f
--- /dev/null
+++ b/main/nghttp2/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=nghttp2
+pkgver=1.13.0
+pkgrel=0
+pkgdesc="Experimental HTTP/2 client, server and proxy"
+url="https://nghttp2.org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="python2-dev libev-dev openssl-dev zlib-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+source="https://github.com/tatsuhiro-t/$pkgname/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz"
+builddir="$srcdir"/$pkgname-$pkgver
+
+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-libxml2 \
+ --without-spdylay \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="908f5f1b86a1ba8b142ece7129c8a954 nghttp2-1.13.0.tar.xz"
+sha256sums="9d0ef97715049cd935fa0d965e6c807249549469aa95eb4dc67c69c2557d5bb2 nghttp2-1.13.0.tar.xz"
+sha512sums="d6dba96c242f0b06e54f38debecff810bdc736fb7a9586598017527818ece407990c85d42d0867e582d9d1cd16daace1bbfe3612fda4babc8785b1cd7abc0ec2 nghttp2-1.13.0.tar.xz"