summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/ibm-jre')
-rw-r--r--dev-java/ibm-jre/ChangeLog7
-rw-r--r--dev-java/ibm-jre/files/digest-ibm-jre-1.4.00
-rw-r--r--dev-java/ibm-jre/files/ibm-jre-1.4.014
-rw-r--r--dev-java/ibm-jre/ibm-jre-1.4.0.ebuild51
4 files changed, 71 insertions, 1 deletions
diff --git a/dev-java/ibm-jre/ChangeLog b/dev-java/ibm-jre/ChangeLog
index 9da116fa702a..5cd216592523 100644
--- a/dev-java/ibm-jre/ChangeLog
+++ b/dev-java/ibm-jre/ChangeLog
@@ -1,6 +1,11 @@
# 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.11 2002/11/21 19:36:56 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre/ChangeLog,v 1.12 2002/12/04 05:28:10 strider Exp $
+
+*ibm-jre-1.4.0 (04 Dec 2002)
+
+ 04 Dec 2002; Adrian Almenar <strider@gentoo.org> ibm-jre-1.4.0.ebuild files/digest-ibm-jre-1.4.0 files/ibm-jre-1.4.0:
+ New upstream version. Masked on packages.mask.
*ibm-jre-1.3.1-r2 (21 Nov 2002)
diff --git a/dev-java/ibm-jre/files/digest-ibm-jre-1.4.0 b/dev-java/ibm-jre/files/digest-ibm-jre-1.4.0
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/ibm-jre/files/digest-ibm-jre-1.4.0
diff --git a/dev-java/ibm-jre/files/ibm-jre-1.4.0 b/dev-java/ibm-jre/files/ibm-jre-1.4.0
new file mode 100644
index 000000000000..53f373027334
--- /dev/null
+++ b/dev-java/ibm-jre/files/ibm-jre-1.4.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.4.0,v 1.1 2002/12/04 05:28:10 strider Exp $
+
+VERSION="IBM JRE @PV@"
+JAVA_HOME=/opt/@P@
+CLASSPATH=/opt/@P@/lib/xml.jar:/opt/@P@/lib/security.jar:/opt/@P@/lib/server.jar:/opt/@P@/lib/graphics.jar:/opt/@P@/lib/core.jar:/opt/@P@/lib/charsets.jar
+JRE_HOME=/opt/@P@
+ADDPATH="${JAVA_HOME}/bin"
+ADDLDPATH=/opt/@P@/lib/xml.jar:/opt/@P@/lib/security.jar:/opt/@P@/lib/server.jar:/opt/@P@/lib/graphics.jar:/opt/@P@/lib/core.jar:/opt/@P@/lib/charsets.jar
+
+ENV_VARS="JAVA_HOME CLASSPATH JRE_HOME ADDPATH ADDLDPATH"
diff --git a/dev-java/ibm-jre/ibm-jre-1.4.0.ebuild b/dev-java/ibm-jre/ibm-jre-1.4.0.ebuild
new file mode 100644
index 000000000000..3fa83a800a38
--- /dev/null
+++ b/dev-java/ibm-jre/ibm-jre-1.4.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre/ibm-jre-1.4.0.ebuild,v 1.1 2002/12/04 05:28:10 strider Exp $
+
+inherit nsplugins
+
+At="IBMJava2-JRE-14.tgz"
+S="${WORKDIR}/IBMJava2-14"
+DESCRIPTION="IBM JRE 1.4.0"
+SRC_URI=""
+HOMEPAGE="https://www6.software.ibm.com/dl/lxdk/lxdk-p"
+IUSE=""
+DEPEND="virtual/glibc
+ >=dev-java/java-config-0.2.5"
+RDEPEND="$DEPEND"
+PROVIDE="virtual/jre-1.3.1
+ virtual/java-scheme-2"
+LICENSE="IBM-ILNWP"
+SLOT="1.3"
+KEYWORDS="x86 -ppc -sparc -sparc64"
+
+src_unpack() {
+ if [ ! -f ${DISTDIR}/${At} ] ; then
+ die "Please download ${At} from ${HOMEPAGE}"
+ fi
+ unpack ${At} || die
+}
+
+
+src_install () {
+
+ dodir /opt/${P}
+ cp -dpR jre/* ${D}/opt/${P}/
+
+ dohtml -a html,htm,HTML -r docs
+ dodoc docs/COPYRIGHT
+
+ 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() {
+ # Plugin as been disabled as it crashes all the time
+ # inst_plugin /opt/${P}/bin/javaplugin.so
+ true
+}