wok-next view pigz/receipt @ rev 17632

lensfun: buggy make version check workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 14 13:45:08 2015 +0100 (2015-02-14)
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 }