blob: 3470416742148306930208289db2196d5a9f2625 (
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=(zlib)
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 $LDFLAGS"
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
}
|