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 \ ${CTARGET:+CC=$CTARGET-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 gz $PKG$bindir/pigz }