From c4f481ee50bc9b2ccecc99a62524fcf9e4d3af5c Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 10:46:10 +0100 Subject: Recette de pigz mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pigz/Pkgfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pigz') 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 -- cgit v1.2.3-70-g09d2