wok diff zlib/receipt @ rev 10638
linux-libre: Fixed to only use tazwok if cook doesn't exist. Fixed also some typos.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 26 18:26:21 2011 +0000 (2011-05-26) |
parents | d1ad1340c827 |
children | f1aa32b03abe |
line diff
1.1 --- a/zlib/receipt Tue May 24 13:08:16 2011 +0200 1.2 +++ b/zlib/receipt Thu May 26 18:26:21 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 @@ -23,11 +34,3 @@ 1.22 mkdir -p $fs/usr/lib 1.23 cp -a $_pkg/usr/lib/libz.so* $fs/usr/lib 1.24 } 1.25 - 1.26 -# Rules to compile & install the temporary toolchain by Tazwok. 1.27 -cook_tmp_toolchain() 1.28 -{ 1.29 - cd $src 1.30 - ./configure --prefix=/tools && 1.31 - make && make install 1.32 -}