wok-next diff bzip2/receipt @ rev 12219
Up: cookutils (1.8) Lots of fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 05 13:42:18 2012 +0200 (2012-04-05) |
parents | 281db43073fb |
children | 09524cdf6ae8 |
line diff
1.1 --- a/bzip2/receipt Tue Sep 21 12:11:24 2010 +0000 1.2 +++ b/bzip2/receipt Thu Apr 05 13:42:18 2012 +0200 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