wok-6.x view pigz/receipt @ rev 19659

Up cookutils (873): bugfix
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 27 15:55:45 2017 +0200 (2017-01-27)
parents e9f090acf2c7
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="pigz"
4 VERSION="2.3.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Parallel Implementation of GZip."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.zlib.net/pigz"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/-lz/& -lm/' Makefile
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp $src/pigz $fs/usr/bin
29 ln -s pigz $fs/usr/bin/unpigz
30 }