void-packages/srcpkgs/pigz/template
2013-06-21 16:22:15 +02:00

27 lines
585 B
Text

# 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
}
}