From 6d1100e327312324f6b0ad67c3a7a66c25b69e3e Mon Sep 17 00:00:00 2001 From: Lukc Date: Thu, 23 Dec 2010 17:55:42 +0100 Subject: Recette de zlib mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zlib/Pkgfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'zlib') diff --git a/zlib/Pkgfile b/zlib/Pkgfile index 80d0e93..8c39e07 100644 --- a/zlib/Pkgfile +++ b/zlib/Pkgfile @@ -7,12 +7,17 @@ depends=() name=zlib version=1.2.5 release=2 -source=(http://www.zlib.net/$name-$version.tar.bz2 zlib-$version-lfs-decls.patch) +source=( + http://www.zlib.net/$name-$version.tar.bz2 + zlib-$version-lfs-decls.patch +) build () { cd $name-$version; patch -p1 -i $SRC/$name-$version-lfs-decls.patch; - ./configure --prefix=$prefix; + CHOST=$CTARGET ./configure \ + --shared \ + --prefix=$prefix; make; make DESTDIR=$PKG mandir=$mandir install } -- cgit v1.2.3-70-g09d2