wok-next rev 10409

zlib: DONT BREAK TAZWOK COOKORDER. Depends and build depends are need for toolchain to be build right.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 06:57:52 2011 +0000 (2011-05-24)
parents 4d01c1ff4f57
children 67722a44366c
files zlib/receipt
line diff
     1.1 --- a/zlib/receipt	Tue May 24 12:53:18 2011 +0200
     1.2 +++ b/zlib/receipt	Tue May 24 06:57:52 2011 +0000
     1.3 @@ -9,6 +9,17 @@
     1.4  WEB_SITE="http://zlib.net/"
     1.5  WGET_URL="$WEB_SITE/$TARBALL"
     1.6  
     1.7 +DEPENDS="glibc-base"
     1.8 +BUILD_DEPENDS="gcc"
     1.9 +
    1.10 +# Rules to compile & install the temporary toolchain by Tazwok.
    1.11 +cook_tmp_toolchain()
    1.12 +{
    1.13 +	cd $src
    1.14 +	./configure --prefix=/tools &&
    1.15 +	make &&	make install
    1.16 +}
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -24,10 +35,3 @@
    1.22      cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib
    1.23  }
    1.24  
    1.25 -# Rules to compile & install the temporary toolchain by Tazwok.
    1.26 -cook_tmp_toolchain()
    1.27 -{
    1.28 -	cd $src
    1.29 -	./configure --prefix=/tools &&
    1.30 -	make &&	make install
    1.31 -}