wok-next view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="pigz"
4 VERSION="2.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Parallel Implementation of GZip."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.zlib.net"
10 WGET_URL="$WEB_SITE/pigz/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/-lz/& -lm/' Makefile
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp $src/pigz $fs/usr/bin
28 ln -s pigz $fs/usr/bin/unpigz
29 }