description="Parallel implementation of gzip." url=http://www.zlib.net/pigz/ packager="Lukc " maintainer="Lukc " depends=() name=pigz version=2.1.6 release=1 source=(http://www.zlib.net/$name/$name-$version.tar.gz) build() { cd $name-$version sed -i -e 's| cc| $(CC)|' Makefile make \ ${CHOST:+CC=$CHOST-gcc} \ CFLAGS="$CFLAGS" mkdir -p $PKG$bindir $PKG$mandir/man1 install -m0755 pigz $PKG$bindir/pigz install -m0644 pigz.1 $PKG$mandir/man1 ln -sf pigz $PKG$bindir/gz }