summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 10:46:10 +0100
committerLukc <lukc@upyum.com>2010-12-21 10:46:10 +0100
commitc4f481ee50bc9b2ccecc99a62524fcf9e4d3af5c (patch)
tree3d0ed8024d608f93c686add7193b372881309869
parent951d750e6f6687197b659ed970ba3a9cd647ec0f (diff)
downloadbase-c4f481ee50bc9b2ccecc99a62524fcf9e4d3af5c.tar.gz
base-c4f481ee50bc9b2ccecc99a62524fcf9e4d3af5c.tar.bz2
base-c4f481ee50bc9b2ccecc99a62524fcf9e4d3af5c.tar.xz
base-c4f481ee50bc9b2ccecc99a62524fcf9e4d3af5c.zip
Recette de pigz mise à jour.
-rw-r--r--pigz/Pkgfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/pigz/Pkgfile b/pigz/Pkgfile
index 109df95..a3885d6 100644
--- a/pigz/Pkgfile
+++ b/pigz/Pkgfile
@@ -11,7 +11,10 @@ source=(http://www.zlib.net/$name/$name-$version.tar.gz)
build() {
cd $name-$version
- make CFLAGS="$CFLAGS"
+ 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