New package: pigz-2.3.

This commit is contained in:
Juan RP 2013-06-21 16:22:15 +02:00
parent c837f6fcfc
commit 4859225368

27
srcpkgs/pigz/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'pigz'
pkgname=pigz
version=2.3
revision=1
makedepends="zlib-devel"
short_desc="A parallel implementation of gzip"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://zlib.net/pigz/"
license="GPL-2"
distfiles="http://zlib.net/pigz/pigz-${version}.tar.gz"
checksum=74bbd5962f9420549fc987ddd1ccda692ec2b29d2d612fbbe26edf3fa348ff21
do_build() {
sed -e 's|-lz|& -lm|' -i Makefile
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
vinstall pigz 755 usr/bin
vinstall pigz.1 644 usr/share/man/man1
}
pigz_package() {
pkg_install() {
vmove usr
}
}