blob: 27c154d7cf1feebf76cca58cef813d9c99129132 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
description="Parallel implementation of gzip."
url=http://www.zlib.net/pigz/
packager="Lukc <lukc AT upyum DOT com>"
maintainer="Lukc <lukc AT upyum DOT com>"
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 gz $PKG$bindir/pigz
}
|