wok annotate pigz/receipt @ rev 15194

Add pigz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 30 11:47:42 2013 +0000 (2013-08-30)
parents
children e9f090acf2c7
rev   line source
pascal@15194 1 # SliTaz package receipt.
pascal@15194 2
pascal@15194 3 PACKAGE="pigz"
pascal@15194 4 VERSION="2.3"
pascal@15194 5 CATEGORY="base-system"
pascal@15194 6 SHORT_DESC="Parallel Implementation of GZip."
pascal@15194 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15194 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15194 9 WEB_SITE="http://www.zlib.net"
pascal@15194 10 WGET_URL="$WEB_SITE/pigz/$TARBALL"
pascal@15194 11
pascal@15194 12 DEPENDS=""
pascal@15194 13 BUILD_DEPENDS=""
pascal@15194 14
pascal@15194 15 # Rules to configure and make the package.
pascal@15194 16 compile_rules()
pascal@15194 17 {
pascal@15194 18 cd $src
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@15194 26 mkdir -p $fs/usr/bin
pascal@15194 27 cp $src/pigz $fs/usr/bin
pascal@15194 28 ln -s pigz $fs/usr/bin/unpigz
pascal@15194 29 }