void-packages/srcpkgs/pigz/template

21 lines
490 B
Text
Raw Normal View History

2013-06-21 14:22:15 +00:00
# Template file for 'pigz'
pkgname=pigz
2013-10-13 07:31:21 +00:00
version=2.3.1
2014-11-23 09:38:49 +00:00
revision=2
2013-06-21 14:22:15 +00:00
makedepends="zlib-devel"
short_desc="A parallel implementation of gzip"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://zlib.net/pigz/"
2013-10-13 07:31:21 +00:00
license="zlib"
2013-06-21 14:22:15 +00:00
distfiles="http://zlib.net/pigz/pigz-${version}.tar.gz"
2013-10-13 07:31:21 +00:00
checksum=629b0ce5422a3978f31742bf8275d0be2f84987140d18f390f1e3b4e46e0af54
2013-06-21 14:22:15 +00:00
do_build() {
sed -e 's|-lz|& -lm|' -i Makefile
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
2014-11-23 09:38:49 +00:00
vbin pigz
vman pigz.1
2013-06-21 14:22:15 +00:00
}