diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-10 13:49:25 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-10 13:49:25 +0000 |
commit | 2c70e7a4dd73e51a044ef4ac301de2d7bac0eb65 (patch) | |
tree | 546df04c4d1e873fc67f79a2835a1677afb2d29e /dev-java/ibm-jdk | |
parent | Fixes #1626 (diff) | |
download | historical-2c70e7a4dd73e51a044ef4ac301de2d7bac0eb65.tar.gz historical-2c70e7a4dd73e51a044ef4ac301de2d7bac0eb65.tar.bz2 historical-2c70e7a4dd73e51a044ef4ac301de2d7bac0eb65.zip |
Fixes #1626
Diffstat (limited to 'dev-java/ibm-jdk')
-rw-r--r-- | dev-java/ibm-jdk/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1 | 0 | ||||
-rw-r--r-- | dev-java/ibm-jdk/files/ibm-jdk-1.3.1 | 15 | ||||
-rw-r--r-- | dev-java/ibm-jdk/ibm-jdk-1.3.1.ebuild | 70 |
4 files changed, 93 insertions, 1 deletions
diff --git a/dev-java/ibm-jdk/ChangeLog b/dev-java/ibm-jdk/ChangeLog index 4d24e9c4fd7c..d936f3aaf08d 100644 --- a/dev-java/ibm-jdk/ChangeLog +++ b/dev-java/ibm-jdk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/ibm-jdk # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk/ChangeLog,v 1.4 2002/04/09 22:08:45 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk/ChangeLog,v 1.5 2002/04/10 13:49:25 karltk Exp $ + +*ibm-jdk-1.3.1 (10 Apr 2002) + + 10 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ibm-jdk-1.3.1.ebuild files/digest-ibm-jdk-1.3.1 files/ibm-jdk-1.3.1: + + New upstream version. Enhancement request submitted by Nuno Ferreira + <nuno.m.r.f@mail.telepac.pt>. *ibm-jdk-1.3.0-r3 (09 Apr 2002) diff --git a/dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1 b/dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1 diff --git a/dev-java/ibm-jdk/files/ibm-jdk-1.3.1 b/dev-java/ibm-jdk/files/ibm-jdk-1.3.1 new file mode 100644 index 000000000000..45b79d0fe78b --- /dev/null +++ b/dev-java/ibm-jdk/files/ibm-jdk-1.3.1 @@ -0,0 +1,15 @@ +# 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-jdk/files/ibm-jdk-1.3.1,v 1.1 2002/04/10 13:49:25 karltk Exp $ + +VERSION="IBM JDK @PV@" +JAVA_HOME=/opt/@P@ +CLASSPATH=/opt/@P@/lib/rt.jar +JDK_HOME=/opt/@P@ +JAVAC=${JAVA_HOME}/bin/javac +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/ibm-jdk/ibm-jdk-1.3.1.ebuild b/dev-java/ibm-jdk/ibm-jdk-1.3.1.ebuild new file mode 100644 index 000000000000..cd990ba93b66 --- /dev/null +++ b/dev-java/ibm-jdk/ibm-jdk-1.3.1.ebuild @@ -0,0 +1,70 @@ +# 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/ibm-jdk/ibm-jdk-1.3.1.ebuild,v 1.3 2002/04/10 13:49:25 karltk Exp $ + +At=IBMJava2-SDK-131.tgz +S=${WORKDIR}/IBMJava2-131 +DESCRIPTION="IBM JDK 1.3.1" +SRC_URI="" +HOMEPAGE="http://www6.software.ibm.com/dl/dklx130/dklx130-p" + +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.1" +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 + unpack ${At} || die +} + + +src_install () { + + dodir /opt/${P} + for i in bin include jre lib ; do + cp -dpR $i ${D}/opt/${P}/ + done + + dodir /usr/${P}/share + for i in demo src.jar ; do + cp -dpR $i ${D}/opt/${P}/share/ + done + + dohtml -a html,htm,HTML -r docs + dodoc docs/COPYRIGHT + + if [ "`use mozilla`" ] ; then + dodir /usr/lib/mozilla/plugins + dosym /opt/${P}/jre/bin/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}/ibm-jdk-${PV} \ + > ${D}/etc/env.d/java/20ibm-jdk-${PV} +} + +src_postinst() { + + if [ -e /opt/netscape/plugins ] ; then + ln -sf /opt/${P}/jre/bin/javaplugin.so /opt/netscape/plugins/ + einfo "Netscape 4.x Java plugin installed" + fi + + if [ "`use mozilla`" ] ; then + einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins" + else + einfo "To install the browser plugin manually, do:" + einfo "ln -sf /opt/${P}/jre/bin/libjavaplugin_oji.so /usr/lib/mozilla/plugins/" + fi +} |