wok-next view pigz/receipt @ rev 20079
Up emacs (2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 25 11:21:45 2017 +0200 (2017-10-25) |
parents | 0f2b4a8c631e |
children | cbe34297250f |
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="zlib"
14 BUILD_DEPENDS="zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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 }