void-packages/srcpkgs/pigz/template
2016-05-24 15:44:01 +02:00

22 lines
562 B
Bash

# Template file for 'pigz'
pkgname=pigz
version=2.3.3
revision=3
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
post_extract() {
sed -i '/CC.*-o/{s/$(LDFLAGS)//; s/$/ $(LDFLAGS)/}' Makefile
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lz" ${makejobs}
}
do_install() {
vbin pigz
vman pigz.1
}