blob: ea09f3b6062f4b1382cf0a683e2e4a00245fe0ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nghttp2
pkgver=1.16.1
pkgrel=0
pkgdesc="Experimental HTTP/2 client, server and proxy"
url="https://nghttp2.org/"
arch="all"
license="MIT"
depends=""
makedepends="python2-dev libev-dev libressl-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="bde0dca3fd5da7bc5c7c8470ed0674b5 nghttp2-1.16.1.tar.xz"
sha256sums="226241d4869aec0c755c1650f72839a34ea31ecf31ba75586efa6c2b45a9e2d0 nghttp2-1.16.1.tar.xz"
sha512sums="8b584a68a03529bb7d0b635901c74a94a3e3b7d050616d80648e1b13c36dcd2bd82500835db4badb023dee966973dad041792b697f4f5f20094615c8e9732209 nghttp2-1.16.1.tar.xz"
|