blob: f24e2ba14c5913278700d16370c7cc2e654ba6d4 (
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.15.0
pkgrel=1
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="3ff131352e4076d78b69a7219d545181 nghttp2-1.15.0.tar.xz"
sha256sums="317afbef79eec624577d006ea7111cf978d2c88e999a6f336c83b99f924b5e4a nghttp2-1.15.0.tar.xz"
sha512sums="2ba41ffb0fa3911e3685ea4811eb7e03b9b0f3365791a9f00f379454531f2617d01bf80d3e1f3bc6f615259a9da0d277641d1a226333158dac2467ec2fc58619 nghttp2-1.15.0.tar.xz"
|