diff options
author | Mark Guertin <gerk@gentoo.org> | 2003-02-18 20:02:33 +0000 |
---|---|---|
committer | Mark Guertin <gerk@gentoo.org> | 2003-02-18 20:02:33 +0000 |
commit | f812b0f7cc87669d9e900c7b515f5ca9b9291280 (patch) | |
tree | 2c87d4d176d9318a82b1b166acfa6567a269e147 /dev-java | |
parent | version bump (diff) | |
download | historical-f812b0f7cc87669d9e900c7b515f5ca9b9291280.tar.gz historical-f812b0f7cc87669d9e900c7b515f5ca9b9291280.tar.bz2 historical-f812b0f7cc87669d9e900c7b515f5ca9b9291280.zip |
new build, ppc only for now
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ibm-jdk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1-r3 | 0 | ||||
-rw-r--r-- | dev-java/ibm-jdk/ibm-jdk-1.3.1-r3.ebuild | 76 |
3 files changed, 82 insertions, 1 deletions
diff --git a/dev-java/ibm-jdk/ChangeLog b/dev-java/ibm-jdk/ChangeLog index ca3db554cccc..02b6f78ef436 100644 --- a/dev-java/ibm-jdk/ChangeLog +++ b/dev-java/ibm-jdk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/ibm-jdk # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk/ChangeLog,v 1.24 2003/02/12 05:52:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk/ChangeLog,v 1.25 2003/02/18 20:02:33 gerk Exp $ + +*ibm-jdk-1.3.1-r3 (18 Feb 2003) + + 18 Feb 2003; Mark Guertin <gerk@gentoo.org> ibm-jdk-1.3.1-r3.ebuild files/digest-ibm-jdk-1.3.1-r3 : + new ebuild for IBM jdk to include ppc support, set only as ppc now.. no sense in making x86 reinstall for nothing 12 Dec 2002; Adrian Almenar <strider@gentoo.org> : Updated Slots on all ebuilds. Fixes #11984. diff --git a/dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1-r3 b/dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1-r3 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/ibm-jdk/files/digest-ibm-jdk-1.3.1-r3 diff --git a/dev-java/ibm-jdk/ibm-jdk-1.3.1-r3.ebuild b/dev-java/ibm-jdk/ibm-jdk-1.3.1-r3.ebuild new file mode 100644 index 000000000000..6d6a503d509d --- /dev/null +++ b/dev-java/ibm-jdk/ibm-jdk-1.3.1-r3.ebuild @@ -0,0 +1,76 @@ +# 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-jdk/ibm-jdk-1.3.1-r3.ebuild,v 1.1 2003/02/18 20:02:33 gerk Exp $ + +IUSE="doc" + +inherit java nsplugins + +if [ `use ppc` ]; then + S=${WORKDIR}/IBMJava2-ppc-131 +else + S=${WORKDIR}/IBMJava2-131 +fi; +DESCRIPTION="IBM JDK 1.3.1" +SRC_UI="" + +if [ `use ppc` ]; then + SRC_JAVA="IBMJava2-SDK-131.ppc.tgz" +else + SRC_JAVA="IBMJava2-SDK-131.tgz" +fi; + +HOMEPAGE="https://www6.software.ibm.com/dl/lxdk/lxdk-p" + +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.5 + doc? ( =dev-java/java-sdk-docs-1.3.1* )" +RDEPEND="$DEPEND" +PROVIDE="virtual/jre-1.3.1 + virtual/jdk-1.3.1 + virtual/java-scheme-2" +LICENSE="IBM-ILNWP" +SLOT="1.3" +KEYWORDS="ppc" + +src_unpack() { + if [ ! -f ${DISTDIR}/${SRC_JAVA} ] ; then + einfo "Download 32-bit pSeries and iSeries for PPC." + einfo "Download 32-bit xSeries for x86." + die "Please download ${SRC_JAVA} from ${HOMEPAGE} to ${DISTDIR}" + fi + unpack ${SRC_JAVA} || die +} + + +src_install () { + + dodir /opt/${P} + for i in bin include jre lib ; do + cp -dpR $i ${D}/opt/${P}/ + done + + dodir /opt/${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 COPYRIGHT + + # Plugin is disabled as it crashes all the time + ## inst_plugin /opt/${P}/jre/bin/libjavaplugin_oji.so + + set_java_env ${FILESDIR}/${VMHANDLE} +} + +pkg_postinst() { + + einfo "*******************************************" + einfo "To set ${P} as the default JVM run" + einfo "java-config --set-system-vm=ibm-jdk-1.3.1" + einfo "Then run env-update and logout and back in." + einfo "*******************************************" +} + +# NOTE: We don't install the plugin, as it always segfaults. |