wok-current rev 4306
icedtea6-jdk: be busybox compatible (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 14:43:39 2009 +0200 (2009-09-28) |
parents | ab4695ab0b37 |
children | 5b90ebb508e9 |
files | icedtea6-jdk/receipt |
line diff
1.1 --- a/icedtea6-jdk/receipt Mon Sep 28 13:15:43 2009 +0200 1.2 +++ b/icedtea6-jdk/receipt Mon Sep 28 14:43:39 2009 +0200 1.3 @@ -31,9 +31,9 @@ 1.4 cat > slitaz.sh <<EOT 1.5 # Busybox compatibility 1.6 find -name Sanity.gmk | xargs sed -i 's/--sync -kP/-k/' 1.7 -find -name Platform.gmk | xargs sed -i 's@MB_OF_MEMORY :=@& \$(shell free | awk '/Mem:/ { printf "%d\n",\$2/1024 }')@' 1.8 +find -name Platform.gmk | xargs sed -i '"'"'s@MB_OF_MEMORY :=.*@MB_OF_MEMORY := \$(shell free | awk '/Mem:/ { printf "%d\\n",\$2/1024 }'"'"')@' 1.9 EOT 1.10 - sed -i -e 's|touch stamps/download.stamp|&\n\tsh slitaz.sh|' \ 1.11 + sed -i -e 's|touch stamps/extract.stamp|&\n\tsh slitaz.sh|' \ 1.12 -e 's/ln -sfv/ln -sf/' Makefile* 1.13 autoreconf && 1.14 ./configure \