wok-stable rev 6866

Fixed icedtea6-jdk to download the other sources. Updated java-jdk and java-jre to 1.9.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 20 19:29:19 2010 +0000 (2010-10-20)
parents 2fd0972c0c88
children 0d85a2ab1cfc
files icedtea6-jdk/receipt java-jdk/receipt java-jre/receipt
line diff
     1.1 --- a/icedtea6-jdk/receipt	Wed Oct 20 23:28:42 2010 +0200
     1.2 +++ b/icedtea6-jdk/receipt	Wed Oct 20 19:29:19 2010 +0000
     1.3 @@ -14,11 +14,22 @@
     1.4  freetype-dev gtk+-dev giflib-dev jpeg-dev libpng-dev \
     1.5  xorg-inputproto xorg-kbproto xorg-libXi-dev xorg-libXinerama-dev \
     1.6  xorg-libXp-dev xorg-libXt-dev xorg-libXtst-dev xorg-printproto \
     1.7 -xorg-recordproto xorg-renderproto xorg-xextproto xorg-xineramaproto xorg-xproto"
     1.8 +xorg-recordproto xorg-renderproto xorg-xextproto xorg-xineramaproto xorg-xproto wget"
     1.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.iced-tea.org/"
    1.11  WGET_URL="http://icedtea.classpath.org/download/source/$TARBALL"
    1.12  
    1.13 +openjdk_version="b20"
    1.14 +openjdk_date="21_jun_2010"
    1.15 +JAXWS="jdk6-jaxws-${openjdk_version}.zip"
    1.16 +JAXP="jdk6-jaxp-${openjdk_version}.zip"
    1.17 +JAF="jdk6-jaf-${openjdk_version}.zip"
    1.18 +OPENJDK="openjdk-6-src-${openjdk_version}-${openjdk_date}.tar.gz"
    1.19 +WGETJAXWS="https://jax-ws.dev.java.net/files/documents/4202/150724"
    1.20 +WGETJAXP="https://jaxp.dev.java.net/files/documents/913/150648"
    1.21 +WGETJAF="https://jax-ws.dev.java.net/files/documents/4202/150725"
    1.22 +WGETOPENJDK="http://download.java.net/openjdk/jdk6/promoted/${openjdk_version}"
    1.23 +
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 @@ -35,14 +46,23 @@
    1.28  	cd $src
    1.29  	mkdir drops
    1.30  	sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/'  Makefile*
    1.31 -	for i in jdk6-jaxws-2009_10_27.zip jdk6-jaxp-2009_10_13.zip \
    1.32 -		  jdk6-jaf-2009_10_27.zip ; do
    1.33 -		[ -s $SOURCES_REPOSITORY/$i ] &&
    1.34 -		cp $SOURCES_REPOSITORY/$i drops
    1.35 -	done
    1.36 -	for i in openjdk-6-src-b18-16_feb_2010.tar.gz ; do
    1.37 -		[ -s $SOURCES_REPOSITORY/$i ] &&
    1.38 -		cp $SOURCES_REPOSITORY/$i .
    1.39 +	for i in $JAXWS $JAXP $JAF $OPENJDK ; do
    1.40 +		if [ -f $SOURCES_REPOSITORY/$i ]; then
    1.41 +			cp $SOURCES_REPOSITORY/$i drops
    1.42 +		elif [ "$i" == "$JAXWS" ]; then
    1.43 +			wget -O $SOURCES_REPOSITORY/$JAXWS --no-check-certificate "$WGETJAXWS/$JAXWS"
    1.44 +			cp $SOURCES_REPOSITORY/$JAXWS drops
    1.45 +		elif [ "$i" == "$JAXP" ]; then
    1.46 +			wget -O $SOURCES_REPOSITORY/$JAXP --no-check-certificate "$WGETJAXP/$JAXP"
    1.47 +			cp $SOURCES_REPOSITORY/$JAXP drops
    1.48 +		elif [ "$i" == "$JAF" ]; then
    1.49 +			wget -O $SOURCES_REPOSITORY/$JAF --no-check-certificate "$WGETJAF/$JAF"
    1.50 +			cp $SOURCES_REPOSITORY/$JAF drops
    1.51 +		elif [ "$i" == "$OPENJDK" ]; then
    1.52 +			wget -O $SOURCES_REPOSITORY/$OPENJDK "$WGETOPENJDK/$OPENJDK"
    1.53 +			cp $SOURCES_REPOSITORY/$OPENJDK .
    1.54 +		fi
    1.55 +		
    1.56  	done
    1.57  	[ -L /usr/bin/find ] && tazpkg get-install findutils --forced
    1.58  	[ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced
     2.1 --- a/java-jdk/receipt	Wed Oct 20 23:28:42 2010 +0200
     2.2 +++ b/java-jdk/receipt	Wed Oct 20 19:29:19 2010 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="java-jdk"
     2.7 -VERSION="1.8.1"
     2.8 +VERSION="1.9.1"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Symlinks for the default Java Development Kit (icedtea6)."
    2.11  MAINTAINER="rcx@zoominternet.net"
     3.1 --- a/java-jre/receipt	Wed Oct 20 23:28:42 2010 +0200
     3.2 +++ b/java-jre/receipt	Wed Oct 20 19:29:19 2010 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="java-jre"
     3.7 -VERSION="1.8.1"
     3.8 +VERSION="1.9.1"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Symlinks for the default Java Runtime Environment (icedtea6)."
    3.11  MAINTAINER="rcx@zoominternet.net"