wok diff icedtea6-jdk/receipt @ rev 13502

Up: lua (5.2.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Oct 13 14:47:01 2012 +0200 (2012-10-13)
parents 0adddcc6b227
children b2a632fc9587
line diff
     1.1 --- a/icedtea6-jdk/receipt	Fri Mar 09 18:19:26 2012 +0100
     1.2 +++ b/icedtea6-jdk/receipt	Sat Oct 13 14:47:01 2012 +0200
     1.3 @@ -46,11 +46,16 @@
     1.4  	sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/'  Makefile*
     1.5  	
     1.6  	# Check than all sources files are available, or exit.
     1.7 +	REPO=http://icedtea.classpath.org/download/drops
     1.8  	if [ -x /usr/bin/cook ]; then
     1.9  		for i in jdk6-jaxws jdk6-jaxp jdk6-jaf; do
    1.10 +			[ -s $SOURCES_REPOSITORY/$i-$openjdk_version.zip ] ||
    1.11 +			     wget -P $SOURCES_REPOSITORY $REPO/$i-$openjdk_version.zip
    1.12  			cp $SOURCES_REPOSITORY/$i-$openjdk_version.zip drops || return 1
    1.13  		done
    1.14  		# openjdk-6-src is in BUILD_DEPENDS and must be build like jdk6-* pkgs.
    1.15 +		[ -s $SOURCES_REPOSITORY/openjdk-6-src-$openjdk_version-$openjdk_date.tar.gz ] ||
    1.16 +		    wget -P $SOURCES_REPOSITORY $REPO/openjdk-6-src-$openjdk_version-$openjdk_date.tar.gz
    1.17  		cp $SOURCES_REPOSITORY/openjdk-6-src-$openjdk_version-$openjdk_date.tar.gz .
    1.18  	else
    1.19  		report open-bloc