wok rev 8214
imported patch toolchain/zlib.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 81728dc610ff |
children | 9a8e4a7beecf |
files | zlib/receipt |
line diff
1.1 --- a/zlib/receipt Thu Jan 27 00:20:50 2011 +0100 1.2 +++ b/zlib/receipt Thu Jan 27 00:20:50 2011 +0100 1.3 @@ -5,17 +5,28 @@ 1.4 CATEGORY="base-system" 1.5 SHORT_DESC="Compression library." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 +DEPENDS="glibc-base" 1.8 +BUILD_DEPENDS="glibc" 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 WEB_SITE="http://zlib.net/" 1.11 WGET_URL="$WEB_SITE/$TARBALL" 1.12 1.13 +# Rules to compile & install the temporary toolchain. 1.14 +cook_tmp_toolchain() 1.15 +{ 1.16 + cd $src 1.17 + ./configure --prefix=/tools && 1.18 + make 1.19 + make install 1.20 +} 1.21 + 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd $PACKAGE-$VERSION 1.26 - ./configure --shared --prefix=/usr && 1.27 - make && 1.28 - make DESTDIR=$PWD/_pkg install 1.29 + cd $src 1.30 + ./configure --prefix=/usr --shared && 1.31 + make && 1.32 + make install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg.