23 lines
559 B
Bash
23 lines
559 B
Bash
# Template file for 'pigz'
|
|
pkgname=pigz
|
|
version=2.5
|
|
revision=1
|
|
makedepends="zlib-devel"
|
|
short_desc="Parallel implementation of gzip"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Zlib"
|
|
homepage="http://zlib.net/pigz/"
|
|
distfiles="http://zlib.net/pigz/pigz-${version}.tar.gz"
|
|
checksum=a006645702caaecace633a89eb5c371482b44a48d04f34e0058e2b85d75d4c36
|
|
|
|
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
|
|
}
|