wok-next view pigz/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents f7f621732ebe
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.zlib.net/pigz"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 BUILD_DEPENDS="zlib-dev"
16 compile_rules() {
17 sed -i 's/-lz/& -lm/' Makefile
18 make || return 1
20 install -Dm 755 $src/pigz $install/usr/bin/pigz
21 ln -s pigz $install/usr/bin/unpigz
22 }
24 genpkg_rules() {
25 copy @std
26 DEPENDS="zlib"
27 }