wok-6.x rev 4304

icedtea6-jdk: be busybox compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 13:09:32 2009 +0200 (2009-09-28)
parents 691c85c10a0e
children ab4695ab0b37
files icedtea6-jdk/receipt
line diff
     1.1 --- a/icedtea6-jdk/receipt	Mon Sep 28 10:21:40 2009 +0200
     1.2 +++ b/icedtea6-jdk/receipt	Mon Sep 28 13:09:32 2009 +0200
     1.3 @@ -28,6 +28,13 @@
     1.4  	# NOTE: This build does not seem to work with ECJ 3.5
     1.5  
     1.6  	cd $src
     1.7 +	cat > slitaz.sh <<EOT
     1.8 +# Busybox compatibility
     1.9 +find -name Sanity.gmk | xargs sed -i 's/--sync -kP/-k/' 
    1.10 +find -name Platform.gmk | xargs sed -i 's@MB_OF_MEMORY :=@& $(shell free | awk '/Mem:/ { printf "%d\n",$2/1024 }')@'
    1.11 +EOT
    1.12 +	sed -i  -e 's|touch stamps/download.stamp|&\n\tsh slitaz.sh|' \
    1.13 +		-e 's/ln -sfv/ln -sf/' Makefile*
    1.14  	autoreconf &&
    1.15  	./configure \
    1.16  		--prefix=/usr \