wok-next rev 15194
Add pigz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 30 11:47:42 2013 +0000 (2013-08-30) |
parents | b6771e9696d7 |
children | e9f090acf2c7 |
files | pigz/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pigz/receipt Fri Aug 30 11:47:42 2013 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pigz" 1.7 +VERSION="2.3" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Parallel Implementation of GZip." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.zlib.net" 1.13 +WGET_URL="$WEB_SITE/pigz/$TARBALL" 1.14 + 1.15 +DEPENDS="" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + sed -i 's/-lz/& -lm/' Makefile 1.23 + make 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/bin 1.30 + cp $src/pigz $fs/usr/bin 1.31 + ln -s pigz $fs/usr/bin/unpigz 1.32 +}