# Maintainer: PktSurf app=pigz version=2.4 build=1sml homepage="https://www.zlib.net/pigz/" download="https://www.zlib.net/pigz/pigz-$version.tar.gz" desc="Multi-threaded gzip alternative to minimise compression time" requires="zlib" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { make CFLAGS="$CFLAGS" install -Dm 755 pigz $pkg/usr/bin/pigz install -Dm 755 unpigz $pkg/usr/bin/unpigz install -Dm 644 pigz.1 $pkg/usr/share/man/man1/pigz.1 cp README $pkgdocs/ cp zopfli/COPYING $pkgdocs/COPYING.zopfli cp zopfli/README $pkgdocs/README.zopfli mkfinalpkg } sha512sums=" c9e3b42ba332959ee212085d1544923e4e46a0ea7cc0064e115f2a78ce8f4555d209926ba64404ca1255ab7b1be073a5446d53b54574ecb85a57b58ff994979b pigz-2.4.tar.lz "