wok-current annotate pigz/receipt @ rev 20747
Up par2 (0.8.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 10 12:08:41 2019 +0100 (2019-02-10) |
parents | 0f2b4a8c631e |
children | 425563100416 |
rev | line source |
---|---|
pascal@15194 | 1 # SliTaz package receipt. |
pascal@15194 | 2 |
pascal@15194 | 3 PACKAGE="pigz" |
pascal@20421 | 4 VERSION="2.4" |
pascal@15194 | 5 CATEGORY="base-system" |
pascal@15194 | 6 SHORT_DESC="Parallel Implementation of GZip." |
pascal@15194 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15195 | 8 LICENSE="Apache" |
pascal@15194 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15195 | 10 WEB_SITE="http://www.zlib.net/pigz" |
pascal@15195 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@15194 | 12 |
pascal@15194 | 13 DEPENDS="" |
pascal@15194 | 14 BUILD_DEPENDS="" |
pascal@15194 | 15 |
pascal@15194 | 16 # Rules to configure and make the package. |
pascal@15194 | 17 compile_rules() |
pascal@15194 | 18 { |
pascal@15194 | 19 sed -i 's/-lz/& -lm/' Makefile |
pascal@15194 | 20 make |
pascal@15194 | 21 } |
pascal@15194 | 22 |
pascal@15194 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15194 | 24 genpkg_rules() |
pascal@15194 | 25 { |
pascal@20421 | 26 mkdir -p $fs/usr/bin $install/usr/share/man |
pascal@20421 | 27 cp $src/pigz.1 $install/usr/share/man |
pascal@15194 | 28 cp $src/pigz $fs/usr/bin |
pascal@15194 | 29 ln -s pigz $fs/usr/bin/unpigz |
pascal@15194 | 30 } |