wok rev 8174

imported patch toolchain/bzip2.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents a0d1333e073b
children 6806fbb7d8bb
files bzip2/receipt
line diff
     1.1 --- a/bzip2/receipt	Thu Jan 27 00:20:49 2011 +0100
     1.2 +++ b/bzip2/receipt	Thu Jan 27 00:20:49 2011 +0100
     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