void-packages/srcpkgs/pigz/template

21 lines
493 B
Bash
Raw Normal View History

2013-06-21 16:22:15 +02:00
# Template file for 'pigz'
pkgname=pigz
2015-01-25 09:57:37 +01:00
version=2.3.3
revision=1
2013-06-21 16:22:15 +02:00
makedepends="zlib-devel"
short_desc="A parallel implementation of gzip"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-06-21 16:22:15 +02:00
homepage="http://zlib.net/pigz/"
2013-10-13 09:31:21 +02:00
license="zlib"
2013-06-21 16:22:15 +02:00
distfiles="http://zlib.net/pigz/pigz-${version}.tar.gz"
2015-01-25 09:57:37 +01:00
checksum=4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c
2013-06-21 16:22:15 +02:00
do_build() {
sed -e 's|-lz|& -lm|' -i Makefile
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
2014-11-23 10:38:49 +01:00
vbin pigz
vman pigz.1
2013-06-21 16:22:15 +02:00
}