blob: b2d65b4774809ef1ab2ee2df8d7870600ded4bac (
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
42
43
44
45
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nghttp2
pkgver=1.18.0
pkgrel=1
pkgdesc="Experimental HTTP/2 client, server and proxy"
url="https://nghttp2.org/"
arch="all"
license="MIT"
depends=""
makedepends="libev-dev libressl-dev zlib-dev c-ares-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 \
--without-neverbleed \
--without-jemalloc \
--disable-python-bindings \
--enable-app \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="5f00c3b184d37cb38012fda88e43a941 nghttp2-1.18.0.tar.xz"
sha256sums="5e5620e103f9239c0758e0fbfcf9bc04744794c1ce7a415583fbd4c2671a4499 nghttp2-1.18.0.tar.xz"
sha512sums="97916e9da69c5465f3760dad6f1112fcee54668fa628b2c050df59e2d71ec419ec366af41cca15c60b1d6fe155b18aed635b685dc6e894613087871157136f3d nghttp2-1.18.0.tar.xz"
|