wok-next annotate pigz/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | f7f621732ebe |
children | d5aab818505e |
rev | line source |
---|---|
al@20485 | 1 # SliTaz package receipt v2. |
pascal@15194 | 2 |
pascal@15194 | 3 PACKAGE="pigz" |
pascal@18883 | 4 VERSION="2.3.3" |
pascal@15194 | 5 CATEGORY="base-system" |
al@20485 | 6 SHORT_DESC="Parallel Implementation of GZip" |
pascal@15194 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15195 | 8 LICENSE="Apache" |
al@20485 | 9 WEB_SITE="http://www.zlib.net/pigz" |
al@20485 | 10 |
pascal@15194 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15195 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@15194 | 13 |
pascal@20042 | 14 BUILD_DEPENDS="zlib-dev" |
pascal@15194 | 15 |
al@20485 | 16 compile_rules() { |
pascal@15194 | 17 sed -i 's/-lz/& -lm/' Makefile |
al@20485 | 18 make || return 1 |
al@20485 | 19 |
al@20485 | 20 install -Dm 755 $src/pigz $install/usr/bin/pigz |
al@20485 | 21 ln -s pigz $install/usr/bin/unpigz |
pascal@15194 | 22 } |
pascal@15194 | 23 |
al@20485 | 24 genpkg_rules() { |
al@20485 | 25 copy @std |
al@20485 | 26 DEPENDS="zlib" |
pascal@15194 | 27 } |