diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-10 13:43:02 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-04-10 13:43:02 +0000 |
commit | 8112e072670e422725ffbd90529502545522431f (patch) | |
tree | 2c5251d022bdc237827f47431c1fd5b0e71a341d /dev-java | |
parent | new version, removed old ones (diff) | |
download | gentoo-2-8112e072670e422725ffbd90529502545522431f.tar.gz gentoo-2-8112e072670e422725ffbd90529502545522431f.tar.bz2 gentoo-2-8112e072670e422725ffbd90529502545522431f.zip |
Fixes #1626
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ibm-jre/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/ibm-jre/files/digest-ibm-jre-1.3.1 | 0 | ||||
-rw-r--r-- | dev-java/ibm-jre/files/ibm-jre-1.3.1 | 14 | ||||
-rw-r--r-- | dev-java/ibm-jre/ibm-jre-1.3.1.ebuild | 63 |
4 files changed, 85 insertions, 1 deletions
diff --git a/dev-java/ibm-jre/ChangeLog b/dev-java/ibm-jre/ChangeLog index 5f4ed706a73f..fc1ad57b88ab 100644 --- a/dev-java/ibm-jre/ChangeLog +++ b/dev-java/ibm-jre/ChangeLog @@ -1,6 +1,13 @@ # 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.4 2002/04/09 22:11:19 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre/ChangeLog,v 1.5 2002/04/10 13:43:02 karltk Exp $ + +*ibm-jre-1.3.1 (10 Apr 2002) + + 10 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ibm-jre-1.3.1.ebuild files/digest-ibm-jre-1.3.1 files/ibm-jre-1.3.1: + + New upstream version. Enhancement request submitted by Nuno Ferreira + <nuno.m.r.f@mail.telepac.pt>. *ibm-jre-1.3.0-r2 (09 Apr 2002) diff --git a/dev-java/ibm-jre/files/digest-ibm-jre-1.3.1 b/dev-java/ibm-jre/files/digest-ibm-jre-1.3.1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/ibm-jre/files/digest-ibm-jre-1.3.1 diff --git a/dev-java/ibm-jre/files/ibm-jre-1.3.1 b/dev-java/ibm-jre/files/ibm-jre-1.3.1 new file mode 100644 index 000000000000..e48494259def --- /dev/null +++ b/dev-java/ibm-jre/files/ibm-jre-1.3.1 @@ -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.1,v 1.1 2002/04/10 13:43:02 karltk Exp $ + +VERSION="IBM JRE @PV@" +JAVA_HOME=/opt/@P@ +CLASSPATH=/opt/@P@/lib/rt.jar +JRE_HOME=/opt/@P@ +ADDPATH="${JAVA_HOME}/bin" +ADDLDPATH=/opt/@P@/jre/lib/rt.jar + +ENV_VARS="JAVA_HOME CLASSPATH JRE_HOME ADDPATH ADDLDPATH" diff --git a/dev-java/ibm-jre/ibm-jre-1.3.1.ebuild b/dev-java/ibm-jre/ibm-jre-1.3.1.ebuild new file mode 100644 index 000000000000..7ae0e4694075 --- /dev/null +++ b/dev-java/ibm-jre/ibm-jre-1.3.1.ebuild @@ -0,0 +1,63 @@ +# 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-jre/ibm-jre-1.3.1.ebuild,v 1.1 2002/04/10 13:43:02 karltk Exp $ + +At=IBMJava2-JRE-131.tgz +S=${WORKDIR}/IBMJava2-131 +DESCRIPTION="IBM JRE 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/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} + cp -dpR jre/* ${D}/opt/${P}/ + + dohtml -a html,htm,HTML -r docs + dodoc docs/COPYRIGHT + + if [ "`use mozilla`" ] ; then + dodir /usr/lib/mozilla/plugins + dosym /opt/${P}/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-jre-${PV} \ + > ${D}/etc/env.d/java/20ibm-jre-${PV} +} + +src_postinst() { + if [ -e /opt/netscape/plugins ] ; then + ln -sf /opt/${P}/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/javaplugin_oji.so" + else + einfo "To install the browser plugin manually, do:" + einfo "ln -sf /opt/${P}/bin/libjavaplugin_oji.so /usr/lib/mozilla/plugins/" + fi + +} |