wok-6.x rev 4307
icedtea6-jdk: be busybox compatible (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 15:24:08 2009 +0200 (2009-09-28) |
parents | 7d0819bf33c0 |
children | 764bcc674b9b |
files | icedtea6-jdk/receipt |
line diff
1.1 --- a/icedtea6-jdk/receipt Mon Sep 28 14:43:39 2009 +0200 1.2 +++ b/icedtea6-jdk/receipt Mon Sep 28 15:24:08 2009 +0200 1.3 @@ -30,10 +30,11 @@ 1.4 cd $src 1.5 cat > slitaz.sh <<EOT 1.6 # Busybox compatibility 1.7 -find -name Sanity.gmk | xargs sed -i 's/--sync -kP/-k/' 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 +find -name Sanity.gmk | xargs sed -i 's/--sync -kP/-k/' Makefile 1.10 +find -name Platform.gmk | xargs sed -i 's@MB_OF_MEMORY :=.*@MB_OF_MEMORY := \$(shell free | awk '"'"'/Mem:/ { printf "%d\\n",\$2/1024 }'"'"')@' Makefile 1.11 EOT 1.12 sed -i -e 's|touch stamps/extract.stamp|&\n\tsh slitaz.sh|' \ 1.13 + -e 's|touch stamps/download.stamp|&\n\tsh slitaz.sh|' \ 1.14 -e 's/ln -sfv/ln -sf/' Makefile* 1.15 autoreconf && 1.16 ./configure \