wok view pigz/receipt @ rev 15296

Add smake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 10:14:31 2013 +0000 (2013-09-27)
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 }