# HG changeset patch # User Antoine Bodin # Date 1296084050 -3600 # Node ID 3f8017e587e179941a7a1f1346aa249bf4ef8598 # Parent 81728dc610fffdf0dd1aaf4683573c71b7a68551 imported patch toolchain/zlib.patch diff -r 81728dc610ff -r 3f8017e587e1 zlib/receipt --- a/zlib/receipt Thu Jan 27 00:20:50 2011 +0100 +++ b/zlib/receipt Thu Jan 27 00:20:50 2011 +0100 @@ -5,17 +5,28 @@ CATEGORY="base-system" SHORT_DESC="Compression library." MAINTAINER="pankso@slitaz.org" +DEPENDS="glibc-base" +BUILD_DEPENDS="glibc" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://zlib.net/" WGET_URL="$WEB_SITE/$TARBALL" +# Rules to compile & install the temporary toolchain. +cook_tmp_toolchain() +{ + cd $src + ./configure --prefix=/tools && + make + make install +} + # Rules to configure and make the package. compile_rules() { - cd $PACKAGE-$VERSION - ./configure --shared --prefix=/usr && - make && - make DESTDIR=$PWD/_pkg install + cd $src + ./configure --prefix=/usr --shared && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg.