void-packages/srcpkgs/pigz/template

21 lines
493 B
Bash

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