void-packages/srcpkgs/pigz/template

21 lines
490 B
Plaintext

# Template file for 'pigz'
pkgname=pigz
version=2.3.1
revision=2
makedepends="zlib-devel"
short_desc="A parallel implementation of gzip"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://zlib.net/pigz/"
license="zlib"
distfiles="http://zlib.net/pigz/pigz-${version}.tar.gz"
checksum=629b0ce5422a3978f31742bf8275d0be2f84987140d18f390f1e3b4e46e0af54
do_build() {
sed -e 's|-lz|& -lm|' -i Makefile
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
vbin pigz
vman pigz.1
}