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

Add licenses
author Dominique Corbex <domcox@slitaz.org>
date Mon Oct 21 23:10:53 2013 +0200 (2013-10-21)
parents 0183577c3754
children 0f2b4a8c631e
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 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 }