summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2003-08-10 21:18:10 +0000
committerAdrian Almenar <strider@gentoo.org>2003-08-10 21:18:10 +0000
commit5f6bb897690a945fd64cc4455bee0eb439fd4f3a (patch)
tree5482f5aa2e69a0ec7f9849de35b6f8eae23ac3cb /dev-java
parentAdding compatible symblink. (diff)
downloadgentoo-2-5f6bb897690a945fd64cc4455bee0eb439fd4f3a.tar.gz
gentoo-2-5f6bb897690a945fd64cc4455bee0eb439fd4f3a.tar.bz2
gentoo-2-5f6bb897690a945fd64cc4455bee0eb439fd4f3a.zip
New revision of sun-jdk 1.3.1
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sun-jdk/ChangeLog8
-rw-r--r--dev-java/sun-jdk/Manifest5
-rw-r--r--dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.090
-rw-r--r--dev-java/sun-jdk/files/sun-jdk-1.3.1.0916
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild90
5 files changed, 117 insertions, 2 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog
index 71b4711a9f8a..14a0c5053e6c 100644
--- a/dev-java/sun-jdk/ChangeLog
+++ b/dev-java/sun-jdk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/sun-jdk
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.48 2003/08/09 00:03:59 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.49 2003/08/10 21:17:58 strider Exp $
+
+*sun-jdk-1.3.1.09 (10 Aug 2003)
+
+ 10 Aug 2003; Adrian Almenar <strider@gentoo.org> sun-jdk-1.3.1.09.ebuild,
+ files/sun-jdk-1.3.1.09:
+ New revision of sun-jdk 1.3.1
08 Aug 2003; Adrian Almenar <strider@gentoo.org> sun-jdk-1.4.1.04.ebuild:
Update package to stable
diff --git a/dev-java/sun-jdk/Manifest b/dev-java/sun-jdk/Manifest
index a811bd1ab465..5ae657b4ab10 100644
--- a/dev-java/sun-jdk/Manifest
+++ b/dev-java/sun-jdk/Manifest
@@ -1,14 +1,17 @@
+MD5 b4810fbd963d544b113a822a570baec5 sun-jdk-1.3.1.09.ebuild 2474
MD5 6388d2a7670d86193047e8e8033803d6 sun-jdk-1.4.1.04.ebuild 1844
MD5 0085132514e437c68bdd9ec6c5173c7e sun-jdk-1.3.1.08.ebuild 2474
MD5 776e4d7955446ca2f53a984714c77bd9 sun-jdk-1.4.2.ebuild 3607
MD5 266e55d237c0112c1bb6a2fdf7423939 sun-jdk-1.4.1.03.ebuild 1844
-MD5 9ad62049126585741f7b5bc22700df83 ChangeLog 11301
+MD5 448d5fad31289bb31f3b03ce78507dea ChangeLog 11469
MD5 3624458aaf058b4b4b2cf00e096c5c84 metadata.xml 382
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-jdk-1.4.2 0
MD5 8a81df1198a6df40e3b76b671c047f56 files/sun-jdk-1.3.1.08 625
+MD5 2480c610e566cb1247657ed2becc9881 files/sun-jdk-1.3.1.09 624
MD5 5a41bdc7140aa72827c82fbf14f08f9b files/sun-jdk-1.4.1.03 557
MD5 884b603c04cb327d275a2a6dc0586097 files/sun-jdk-1.4.1.04 557
MD5 367cc7adedddc6a6ff226179798d9d2e files/sun-jdk-1.4.2 495
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-jdk-1.3.1.08 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-jdk-1.3.1.09 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-jdk-1.4.1.03 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-jdk-1.4.1.04 0
diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.09 b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.09
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.09
diff --git a/dev-java/sun-jdk/files/sun-jdk-1.3.1.09 b/dev-java/sun-jdk/files/sun-jdk-1.3.1.09
new file mode 100644
index 000000000000..324f2732ff86
--- /dev/null
+++ b/dev-java/sun-jdk/files/sun-jdk-1.3.1.09
@@ -0,0 +1,16 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Karl Trygve Kalleberg
+# Maintainer: Tools Team <tools@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.3.1.09,v 1.1 2003/08/10 21:17:58 strider Exp $
+
+VERSION="Sun JDK @PV@"
+JAVA_HOME=/opt/@P@
+CLASSPATH=.:/opt/@P@/jre/lib:/opt/@P@/lib/tools.jar
+JDK_HOME=/opt/@P@
+JAVAC=${JAVA_HOME}/bin/javac
+LD_ASSUME_KERNEL=2.2.5
+ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
+ADDLDPATH="/opt/@P@/jre/lib"
+
+ENV_VARS="JAVA_HOME CLASSPATH JDK_HOME JAVAC ADDPATH ADDLDPATH"
diff --git a/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild b/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild
new file mode 100644
index 000000000000..b646f3068cc5
--- /dev/null
+++ b/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1.09.ebuild,v 1.1 2003/08/10 21:17:58 strider Exp $
+
+# Since This Ebuild Has FETCH restrictions:
+# You need to download this file from
+# http://java.sun.com/j2se/1.3.1/download.html
+# and copy it on your distfiles directory and emerge it again
+
+IUSE="doc"
+
+inherit java nsplugins
+
+At="j2sdk-1_3_1_09-linux-i586.bin"
+S="${WORKDIR}/jdk1.3.1_09"
+SRC_URI=""
+DESCRIPTION="Sun Java Development Kit 1.3.1_09"
+HOMEPAGE="http://java.sun.com/j2se/1.3/download.html"
+DEPEND="virtual/glibc
+ >=dev-java/java-config-0.2.7
+ doc? ( =dev-java/java-sdk-docs-1.3.1* )"
+RDEPEND="sys-libs/lib-compat"
+PROVIDE="virtual/jre-1.3.1
+ virtual/jdk-1.3.1
+ virtual/java-scheme-2"
+LICENSE="sun-bcla-java-vm"
+SLOT="1.3"
+KEYWORDS="x86 -ppc -sparc -alpha -mips -hppa -arm"
+RESTRICT="fetch"
+
+src_unpack() {
+ if [ ! -f ${DISTDIR}/${At} ] ; then
+ die "Please download ${At} from ${HOMEPAGE} (select the \"Linux self-extracting file\" package format of the SDK) and move it to ${DISTDIR}. Note: You can find archived releases from http://java.sun.com/products/archive/"
+ fi
+ tail +295 ${DISTDIR}/${At} > install.sfx
+ chmod +x install.sfx
+ ./install.sfx
+ rm install.sfx
+}
+
+src_install () {
+ local dirs="bin include include-old jre lib"
+ dodir /opt/${P}
+
+ for i in ${dirs} ; do
+ if [ "${i}" == "bin" ] ; then
+ dodir /opt/${P}/${i}
+ cp -a ${i}/.java_wrapper ${D}/opt/${P}/bin/
+ cp -a ${i}/* ${D}/opt/${P}/bin/
+ elif [ "${i}" == "jre" ] ; then
+ dodir /opt/${P}/${i}
+ dodir /opt/${P}/${i}/bin
+ cp -a ${i}/bin/.java_wrapper ${D}/opt/${P}/${i}/bin/
+ cp -a ${i}/bin/* ${D}/opt/${P}/${i}/bin/
+ cp -a ${i}/CHANGES \
+ ${i}/COPYRIGHT \
+ ${i}/ControlPanel.html \
+ ${i}/LICENSE \
+ ${i}/README \
+ ${i}/Welcome.html \
+ ${i}/lib \
+ ${i}/plugin \
+ ${D}/opt/${P}/${i}/
+ else
+ cp -a ${i} ${D}/opt/${P}/
+ fi
+ done
+
+ dodoc COPYRIGHT README LICENSE
+ dohtml README.html
+
+ doman man/man1/*.1
+
+ dodir /opt/${P}/share/
+ cp -a demo src.jar ${D}/opt/${P}/share/
+
+ if [ "`use mozilla`" ] ; then
+ dodir /usr/lib/mozilla/plugins
+ dosym /opt/${P}/jre/plugin/i386/ns600/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
+ fi
+
+ set_java_env ${FILESDIR}/${VMHANDLE} || die
+}
+
+pkg_postinst () {
+ # Set as default VM if none exists
+ java_pkg_postinst
+
+ inst_plugin /opt/${P}/jre/plugin/i386/mozilla/libjavaplugin_oji.so
+}