wok-stable rev 6034
icedtea6-jdk: may store some sources in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 16 17:31:43 2010 +0200 (2010-08-16) |
parents | dd3e14a6278d |
children | 64ec3b23db15 |
files | icedtea6-jdk/receipt |
line diff
1.1 --- a/icedtea6-jdk/receipt Mon Aug 16 12:43:11 2010 +0200 1.2 +++ b/icedtea6-jdk/receipt Mon Aug 16 17:31:43 2010 +0200 1.3 @@ -33,6 +33,18 @@ 1.4 ECJ_VERSION="3.6" 1.5 1.6 cd $src 1.7 + mkdir drops 1.8 + sed -i 's/mkdir -p drops/true/' Makefile* 1.9 + for i in jdk6-jaxws-2009_10_27.zip jdk6-jaxp-2009_10_13.zip \ 1.10 + jdk6-jaf-2009_10_27.zip ; do 1.11 + [ -s $SOURCES_REPOSITORY/$i ] && 1.12 + cp $SOURCES_REPOSITORY/$i drops 1.13 + done 1.14 + for i in openjdk-6-src-b18-16_feb_2010.tar.gz ; do 1.15 + [ -s $SOURCES_REPOSITORY/$i ] && 1.16 + cp $SOURCES_REPOSITORY/$i . 1.17 + done 1.18 + [ -L /usr/bin/find ] && tazpkg get-install findutils --forced 1.19 [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced 1.20 [ "$(readlink /usr/bin/awk)" == "gawk" ] || 1.21 tazpkg get-install gawk --forced 1.22 @@ -40,10 +52,9 @@ 1.23 cat > slitaz.sh <<EOT 1.24 # Busybox compatibility 1.25 find -name Sanity.gmk | xargs sed -i 's/--sync -kP/-k/' Makefile 1.26 -find -name Platform.gmk | xargs sed -i "s@MB_OF_MEMORY :=.*@MB_OF_MEMORY := $mem@" Makefile 1.27 +find -name Platform.gmk | xargs sed -i "s@MB_OF_MEMORY *:=.*free.*@MB_OF_MEMORY := $mem@" Makefile 1.28 EOT 1.29 - sed -i -e 's|touch stamps/extract.stamp|&\n\tsh slitaz.sh|' \ 1.30 - -e 's|touch stamps/download.stamp|&\n\tsh slitaz.sh|' \ 1.31 + sed -i -e 's|touch .*|&\n\tsh slitaz.sh|' \ 1.32 -e 's/--check/-c/' \ 1.33 -e 's/ln -sfv/ln -sf/' Makefile* 1.34 autoreconf &&