summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-03-18 21:45:38 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-03-18 21:45:38 +0000
commitf7cc8a8c9b7531cd29297efef1a926b64edb4e15 (patch)
tree3811736494a6f05bb2a9ec77aa3b5c87cd137d14 /dev-java/ibm-jre
parentVersion bump, and dependency to >= from = (diff)
downloadhistorical-f7cc8a8c9b7531cd29297efef1a926b64edb4e15.tar.gz
historical-f7cc8a8c9b7531cd29297efef1a926b64edb4e15.tar.bz2
historical-f7cc8a8c9b7531cd29297efef1a926b64edb4e15.zip
Major updates. #754
Diffstat (limited to 'dev-java/ibm-jre')
-rw-r--r--dev-java/ibm-jre/ChangeLog10
-rw-r--r--dev-java/ibm-jre/files/digest-ibm-jre-1.3.0-r1 (renamed from dev-java/ibm-jre/files/digest-ibm-jre-1.3.0)0
-rw-r--r--dev-java/ibm-jre/files/ibm-jre-1.3.014
-rw-r--r--dev-java/ibm-jre/ibm-jre-1.3.0-r1.ebuild (renamed from dev-java/ibm-jre/ibm-jre-1.3.0.ebuild)16
4 files changed, 31 insertions, 9 deletions
diff --git a/dev-java/ibm-jre/ChangeLog b/dev-java/ibm-jre/ChangeLog
index 27c73bfe6443..3fc7fdb287c0 100644
--- a/dev-java/ibm-jre/ChangeLog
+++ b/dev-java/ibm-jre/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/ibm-jre
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre/ChangeLog,v 1.2 2002/02/08 17:10:50 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre/ChangeLog,v 1.3 2002/03/18 21:45:38 karltk Exp $
+
+*ibm-jre-1.3.0-r1 (18 Mar 2002)
+
+ 18 Mar 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ibm-jre-1.3.0-r1.ebuild files/digest-ibm-jre-1.3.0-r1 files/ibm-jre-1.3.0
+
+ Added support for JVM switching.
+
+ Removed old revisions.
*ibm-jre-1.3.0 (8 Feb 2002)
diff --git a/dev-java/ibm-jre/files/digest-ibm-jre-1.3.0 b/dev-java/ibm-jre/files/digest-ibm-jre-1.3.0-r1
index e69de29bb2d1..e69de29bb2d1 100644
--- a/dev-java/ibm-jre/files/digest-ibm-jre-1.3.0
+++ b/dev-java/ibm-jre/files/digest-ibm-jre-1.3.0-r1
diff --git a/dev-java/ibm-jre/files/ibm-jre-1.3.0 b/dev-java/ibm-jre/files/ibm-jre-1.3.0
new file mode 100644
index 000000000000..a75903bfd047
--- /dev/null
+++ b/dev-java/ibm-jre/files/ibm-jre-1.3.0
@@ -0,0 +1,14 @@
+# 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/ibm-jre/files/ibm-jre-1.3.0,v 1.1 2002/03/18 21:45:38 karltk Exp $
+
+VERSION="IBM JRE @PV@"
+JAVA_HOME=/opt/@P@
+CLASSPATH=/opt/@P@/lib/rt.jar
+JDK_HOME=/opt/@P@
+ADDPATH="${JAVA_HOME}/bin"
+ADDLDPATH=/opt/@P@/jre/lib/rt.jar
+
+ENV_VARS="JAVA_HOME CLASSPATH JDK_HOME JAVAC ADDPATH ADDLDPATH"
diff --git a/dev-java/ibm-jre/ibm-jre-1.3.0.ebuild b/dev-java/ibm-jre/ibm-jre-1.3.0-r1.ebuild
index eb1042ef5c7b..bc20eb7bea23 100644
--- a/dev-java/ibm-jre/ibm-jre-1.3.0.ebuild
+++ b/dev-java/ibm-jre/ibm-jre-1.3.0-r1.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/ibm-jre/ibm-jre-1.3.0.ebuild,v 1.2 2002/02/08 17:10:50 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre/ibm-jre-1.3.0-r1.ebuild,v 1.1 2002/03/18 21:45:38 karltk Exp $
At=IBMJava2-JRE-13.tgz
S=${WORKDIR}/IBMJava2-13
@@ -37,13 +37,13 @@ src_install () {
dosym /opt/${P}/bin/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
fi
- dodir /etc/env.d
- echo "PATH=/opt/${P}/bin" > /etc/env.d/20jre
- echo "JRE_HOME=/opt/${P}" >> /etc/env.d/20jre
- echo "JAVA_HOME=/opt/${P}" >> /etc/env.d/20jre
- echo "ROOTPATH=/opt/${P}/bin" >> /etc/env.d/20jre
- echo "CLASSPATH=/opt/${P}/lib/rt.jar" >> /etc/env.d/20jre
- echo "LDPATH=/opt/${P}/bin" >> /etc/env.d/20jre
+ dodir /etc/env.d/java
+ sed \
+ -e "s/@P@/${P}/g" \
+ -e "s/@PV@/${PV}/g" \
+ -e "s/@PF@/${PF}/g" \
+ < ${FILESDIR}/ibm-jre-${PV} \
+ > ${D}/etc/env.d/java/20ibm-jre-${PV}
}
src_postinst() {