wok diff bzip2/receipt @ rev 11257

iron-linux: Cookutils uses wget -O $SRC/$TARBALL so we can change TARBALL to save source as TARBALL. This needs to be done for iron-linux cause other wise it will just find iron-linux.tar.gz and use the old version.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 07 11:21:08 2011 +0000 (2011-11-07)
parents 281db43073fb
children 09524cdf6ae8
line diff
     1.1 --- a/bzip2/receipt	Tue Sep 21 12:11:24 2010 +0000
     1.2 +++ b/bzip2/receipt	Mon Nov 07 11:21:08 2011 +0000
     1.3 @@ -9,14 +9,22 @@
     1.4  WEB_SITE="http://www.bzip.org/"
     1.5  WGET_URL="http://www.bzip.org/$VERSION/$TARBALL"
     1.6  DEPENDS="bzlib"
     1.7 +BUILD_DEPENDS="gcc"
     1.8  TAGS="compression archive"
     1.9  
    1.10 +# Rules to compile & install the temporary toolchain.
    1.11 +cook_tmp_toolchain()
    1.12 +{
    1.13 +	cd $src
    1.14 +	make &&	make PREFIX=/tools install
    1.15 +}
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	make -f Makefile-libbz2_so
    1.22 -	make clean
    1.23 +	make -f Makefile-libbz2_so &&
    1.24 +	make clean &&
    1.25  	make
    1.26  }
    1.27