wok-6.x diff zlib/receipt @ rev 8488
get-xlite: unbreak download loop
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 22:41:18 2011 +0100 (2011-02-08) |
parents | e0f477d62f10 |
children | b039a3d7274c |
line diff
1.1 --- a/zlib/receipt Sat Aug 14 15:16:02 2010 +0000 1.2 +++ b/zlib/receipt Tue Feb 08 22:41:18 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.