blob: b7fc714f4f0e9fd583930b34398665ed4d518f8a (
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.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"
|