void-packages/srcpkgs/pigz/template

28 lines
586 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
2013-06-21 14:22:15 +00:00
revision=1
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() {
vinstall pigz 755 usr/bin
vinstall pigz.1 644 usr/share/man/man1
}
pigz_package() {
pkg_install() {
2013-10-13 07:31:21 +00:00
vmove all
2013-06-21 14:22:15 +00:00
}
}