# HG changeset patch # User Pascal Bellard # Date 1377863262 0 # Node ID 0183577c37540dab3613891c4611a736fa3f4901 # Parent b6771e9696d7e5c0d4505d2288acedb7bb5ffdf9 Add pigz diff -r b6771e9696d7 -r 0183577c3754 pigz/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pigz/receipt Fri Aug 30 11:47:42 2013 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="pigz" +VERSION="2.3" +CATEGORY="base-system" +SHORT_DESC="Parallel Implementation of GZip." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.zlib.net" +WGET_URL="$WEB_SITE/pigz/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's/-lz/& -lm/' Makefile + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp $src/pigz $fs/usr/bin + ln -s pigz $fs/usr/bin/unpigz +}