summaryrefslogblamecommitdiff
path: root/user/nghttp2/APKBUILD
blob: d44f8ccf7a54f4a35f9356de30a8bb5d8ddf8708 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                    
             









                                                                                                  
















                                           



                  


                                      
                                                                                                                                                                    
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=nghttp2
pkgver=1.40.0
pkgrel=0
pkgdesc="Experimental HTTP/2 client, server and proxy"
url="https://nghttp2.org/"
arch="all"
license="MIT"
makedepends="c-ares-dev libev-dev libxml2-dev openssl-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://github.com/tatsuhiro-t/$pkgname/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static \
		--without-neverbleed \
		--without-jemalloc \
		--disable-python-bindings \
		--enable-app
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="3f9b989c4bd9571b11bb9d59fe2dfd5596ba3962babfc836587d5047e780400a6cf46e43c602caa25ca83c03b84a1629953140d45223099b193df54a719745ce  nghttp2-1.40.0.tar.xz"