summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-04-24 20:03:49 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-04-24 20:03:49 +0000
commit05999a28c53368d7b86f146e14b13edfe4963bd2 (patch)
tree307d3828c5ec88a6a292844efca24ff666dc4757 /dev-java/sun-jdk
parentadded gtranslator (diff)
downloadhistorical-05999a28c53368d7b86f146e14b13edfe4963bd2.tar.gz
historical-05999a28c53368d7b86f146e14b13edfe4963bd2.tar.bz2
historical-05999a28c53368d7b86f146e14b13edfe4963bd2.zip
Fixes #1869.
Diffstat (limited to 'dev-java/sun-jdk')
-rw-r--r--dev-java/sun-jdk/ChangeLog8
-rw-r--r--dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.02 (renamed from dev-java/sun-jdk/files/digest-sun-jdk-1.3.1-r3)0
-rw-r--r--dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.030
-rw-r--r--dev-java/sun-jdk/files/sun-jdk-1.3.13
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.3.1.02.ebuild (renamed from dev-java/sun-jdk/sun-jdk-1.3.1-r3.ebuild)2
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.3.1.03.ebuild71
6 files changed, 81 insertions, 3 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog
index 69ebfc6f0428..2c1a2d96fb5f 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 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.7 2002/04/19 06:05:45 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.8 2002/04/24 20:03:49 karltk Exp $
+
+*sun-jdk-1.3.1.03 (24 Apr 2002)
+
+ 24 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> sun-jdk-1.3.1.03.ebuild files/digest-sun-jdk-1.3.1.03 :
+
+ New upstream version. Old revision (1.3.1-r3) renamed to 1.3.1.02.
*sun-jdk-1.4.0-r2 (18 Apr 2002)
diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1-r3 b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.02
index e69de29bb2d1..e69de29bb2d1 100644
--- a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1-r3
+++ b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.02
diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.03 b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.03
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/sun-jdk/files/digest-sun-jdk-1.3.1.03
diff --git a/dev-java/sun-jdk/files/sun-jdk-1.3.1 b/dev-java/sun-jdk/files/sun-jdk-1.3.1
index 43f597bfc088..4f1c6ccc756b 100644
--- a/dev-java/sun-jdk/files/sun-jdk-1.3.1
+++ b/dev-java/sun-jdk/files/sun-jdk-1.3.1
@@ -2,13 +2,14 @@
# 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,v 1.3 2002/04/09 22:13:41 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.3.1,v 1.4 2002/04/24 20:03:49 karltk Exp $
VERSION="Sun JDK @PV@"
JAVA_HOME=/opt/@P@
CLASSPATH=/opt/@P@/lib/rt.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/"
diff --git a/dev-java/sun-jdk/sun-jdk-1.3.1-r3.ebuild b/dev-java/sun-jdk/sun-jdk-1.3.1.02.ebuild
index 93502918fd27..11fd8eebec14 100644
--- a/dev-java/sun-jdk/sun-jdk-1.3.1-r3.ebuild
+++ b/dev-java/sun-jdk/sun-jdk-1.3.1.02.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Tools Team <tools@gentoo.org>
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1-r3.ebuild,v 1.1 2002/04/09 22:13:41 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1.02.ebuild,v 1.1 2002/04/24 20:03:49 karltk Exp $
At="j2sdk-1_3_1_02-linux-i386.bin"
S=${WORKDIR}/jdk1.3.1_02
diff --git a/dev-java/sun-jdk/sun-jdk-1.3.1.03.ebuild b/dev-java/sun-jdk/sun-jdk-1.3.1.03.ebuild
new file mode 100644
index 000000000000..7e683e0eab55
--- /dev/null
+++ b/dev-java/sun-jdk/sun-jdk-1.3.1.03.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Tools Team <tools@gentoo.org>
+# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1.03.ebuild,v 1.1 2002/04/24 20:03:49 karltk Exp $
+
+At="j2sdk-1_3_1_03-linux-i386.bin"
+S=${WORKDIR}/jdk1.3.1_03
+SRC_URI=""
+DESCRIPTION="Sun Java Development Kit 1.3.1"
+HOMEPAGE="http://java.sun.com/j2se/1.3/download-linux.html"
+
+DEPEND="virtual/glibc
+ >=dev-java/java-config-0.2.2"
+RDEPEND="$DEPEND"
+
+PROVIDE="virtual/jre-1.3
+ virtual/jdk-1.3
+ virtual/java-scheme-2"
+
+src_unpack() {
+ if [ ! -f ${DISTDIR}/${At} ] ; then
+ die "Please download ${At} from ${HOMEPAGE}"
+ fi
+ tail +248 ${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
+ cp -a $i ${D}/opt/${P}/
+ 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
+
+ dodir /etc/env.d/java
+ sed \
+ -e "s/@P@/${P}/g" \
+ -e "s/@PV@/${PV}/g" \
+ -e "s/@PF@/${PF}/g" \
+ < ${FILESDIR}/sun-jdk-${PV} \
+ > ${D}/etc/env.d/java/20sun-jdk-${PV}
+}
+
+pkg_postinst () {
+ if [ "`use mozilla`" ] ; then
+ einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/libjavaplugin_oji.so"
+ else
+ einfo "To install the Java plugin for Mozilla manually, do:"
+ einfo "ln -s /opt/${P}/jre/plugin/i386/mozilla/libjavaplugin_oji.so /usr/lib/mozilla/plugins/"
+ einfo '(Make certain the directory /usr/lib/mozilla/plugins exists first)'
+ fi
+}
+