Author: jw Date: 2006-08-03 14:47:01 +0200 (Thu, 03 Aug 2006) New Revision: 1675 Modified: crux-2.2/ports/opt/j2sdk/.md5sum crux-2.2/ports/opt/j2sdk/Pkgfile Log: j2sdk: use sun's distro edition Modified: crux-2.2/ports/opt/j2sdk/.md5sum =================================================================== --- crux-2.2/ports/opt/j2sdk/.md5sum 2006-08-03 12:26:04 UTC (rev 1674) +++ crux-2.2/ports/opt/j2sdk/.md5sum 2006-08-03 12:47:01 UTC (rev 1675) @@ -1 +1 @@ -1325082c36b4adcb71bc5449ae4c68cf jdk-1_5_0_07-linux-i586.bin +d7bf7e986ab185c830d11f93f18b3930 jdk-1_5_0_07-distro-linux-i586.bin Modified: crux-2.2/ports/opt/j2sdk/Pkgfile =================================================================== --- crux-2.2/ports/opt/j2sdk/Pkgfile 2006-08-03 12:26:04 UTC (rev 1674) +++ crux-2.2/ports/opt/j2sdk/Pkgfile 2006-08-03 12:47:01 UTC (rev 1675) @@ -8,12 +8,11 @@ name=j2sdk version=1.5.0_07 release=1 -source=(file:///jdk-${version//./_}-linux-i586.bin) +source=(http://download.java.net/dlj/binaries/jdk-1_5_0_07-distro-linux-i586.bin) build(){ - sed -i 's|more <<"EOF"|cat <<"EOF"|' jdk-*.bin mkdir -p $PKG/usr/lib; cd $PKG/usr/lib - yes | sh $SRC/jdk-*.bin + sh $SRC/jdk-*.bin --accept-license --unpack export GLOBIGNORE="*/man1" rm -rf jdk*/{man/,jre/lib/javaws/messages_,demo,sample}* @@ -27,6 +26,9 @@ ln -s jdk* java + # generate classes.jsa + (cd java; ./bin/java -Xshare:dump) + mkdir -p $PKG/usr/bin && cd $PKG/usr/bin for j in java javac javah javap javaws jar keytool; do ln -s ../lib/java/bin/$j