wok-next view nghttp2/receipt @ rev 20621

Add: fluxcomp, ldns, libndp, libnsl, nghttp2; up: directfb, libevent, libnl, libsoup, links, neon, serf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 25 13:24:59 2018 +0300 (2018-04-25)
parents
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nghttp2"
4 VERSION="1.30.0"
5 CATEGORY="network"
6 SHORT_DESC="HTTP/2 C Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://nghttp2.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/nghttp2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/nghttp2/nghttp2/releases/download/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev"
16 SPLIT="nghttp2-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 --enable-lib-only \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 nghttp2) copy @std;;
31 *-dev) copy @dev;;
32 esac
33 }