wok-next view nghttp2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
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/svn/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="$PACKAGE-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 }