blob: 05e4824a04df17eddf59c245c9a843d11b1467f5 (
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.1
pkgrel=0
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="3b5c96bd0ab871061e119706ddc26eeb nghttp2-1.18.1.tar.xz"
sha256sums="82a929415ce4115dcb4d2917402cb938c29f98ca705d9c0425eb6c02a50d5ae1 nghttp2-1.18.1.tar.xz"
sha512sums="7cc0e270bfce2cc094a6135540183bd6ed7336628d85d983b481faea1c10bf4e20b1d4526e1e4be364305500ec43691c2b86d7a8972455c4491ef008f6234e84 nghttp2-1.18.1.tar.xz"
|