wok-next annotate nghttp2/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 3bec5f368ce1 |
children | d5aab818505e |
rev | line source |
---|---|
al@20621 | 1 # SliTaz package receipt v2. |
al@20621 | 2 |
al@20621 | 3 PACKAGE="nghttp2" |
al@20621 | 4 VERSION="1.30.0" |
al@20621 | 5 CATEGORY="network" |
al@20621 | 6 SHORT_DESC="HTTP/2 C Library" |
al@20621 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20621 | 8 LICENSE="MIT" |
al@20621 | 9 WEB_SITE="https://nghttp2.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/nghttp2.html" |
al@20621 | 11 |
al@20621 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20621 | 13 WGET_URL="https://github.com/nghttp2/nghttp2/releases/download/v$VERSION/$TARBALL" |
al@20621 | 14 |
al@20621 | 15 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev" |
al@20621 | 16 SPLIT="nghttp2-dev" |
al@20621 | 17 |
al@20621 | 18 compile_rules() { |
al@20621 | 19 ./configure \ |
al@20621 | 20 --disable-static \ |
al@20621 | 21 --enable-lib-only \ |
al@20621 | 22 $CONFIGURE_ARGS && |
al@20621 | 23 fix libtool && |
al@20621 | 24 make && |
al@20621 | 25 make install |
al@20621 | 26 } |
al@20621 | 27 |
al@20621 | 28 genpkg_rules() { |
al@20621 | 29 case $PACKAGE in |
al@20621 | 30 nghttp2) copy @std;; |
al@20621 | 31 *-dev) copy @dev;; |
al@20621 | 32 esac |
al@20621 | 33 } |