summaryrefslogtreecommitdiffstats
path: root/zlib
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-23 17:55:42 +0100
committerLukc <lukc@upyum.com>2010-12-23 17:55:42 +0100
commit6d1100e327312324f6b0ad67c3a7a66c25b69e3e (patch)
tree3623cf72f78dd469b52accf2333ad9cd80ef1622 /zlib
parent7504518b296fbcfe3f61141e7e7e61091a966ab4 (diff)
downloadbase-6d1100e327312324f6b0ad67c3a7a66c25b69e3e.tar.gz
base-6d1100e327312324f6b0ad67c3a7a66c25b69e3e.tar.bz2
base-6d1100e327312324f6b0ad67c3a7a66c25b69e3e.tar.xz
base-6d1100e327312324f6b0ad67c3a7a66c25b69e3e.zip
Recette de zlib mise à jour.
Diffstat (limited to 'zlib')
-rw-r--r--zlib/Pkgfile9
1 files changed, 7 insertions, 2 deletions
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
}