diff options
author | Lars Weiler <pylon@gentoo.org> | 2003-06-25 07:00:15 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2003-06-25 07:00:15 +0000 |
commit | dd6347048dd7c3806338954952cd788368dbe591 (patch) | |
tree | 4217bb8f886d0039b80467f6412ebf52846d58c2 /dev-java | |
parent | new version for ppc (diff) | |
download | gentoo-2-dd6347048dd7c3806338954952cd788368dbe591.tar.gz gentoo-2-dd6347048dd7c3806338954952cd788368dbe591.tar.bz2 gentoo-2-dd6347048dd7c3806338954952cd788368dbe591.zip |
new version for ppc
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ibm-jdk/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/ibm-jdk/Manifest | 6 | ||||
-rw-r--r-- | dev-java/ibm-jdk/files/digest-ibm-jdk-1.4.1 | 0 | ||||
-rw-r--r-- | dev-java/ibm-jdk/files/ibm-jdk-1.4.1 | 15 | ||||
-rw-r--r-- | dev-java/ibm-jdk/ibm-jdk-1.4.1.ebuild | 79 |
5 files changed, 107 insertions, 4 deletions
diff --git a/dev-java/ibm-jdk/ChangeLog b/dev-java/ibm-jdk/ChangeLog index 02b6f78ef436..cc6f02e247e6 100644 --- a/dev-java/ibm-jdk/ChangeLog +++ b/dev-java/ibm-jdk/ChangeLog @@ -1,6 +1,15 @@ # 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.25 2003/02/18 20:02:33 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk/ChangeLog,v 1.26 2003/06/25 07:00:00 pylon Exp $ + +*ibm-jdk-1.4.1 (25 Jun 2003) + + 25 Jun 2003; Lars Weiler <pylon@gentoo.org> ibm-jdk-1.4.1.ebuild, + files/ibm-jdk-1.4.1: + Another version for ppc, even a 64bit-version is available. + Maybe the x86 version would also run. + + Thanks to Mark Spanbroek <mark@spanbroek.net> for writing the ebuild! *ibm-jdk-1.3.1-r3 (18 Feb 2003) diff --git a/dev-java/ibm-jdk/Manifest b/dev-java/ibm-jdk/Manifest index 1d26ac7a804a..777615ec30c7 100644 --- a/dev-java/ibm-jdk/Manifest +++ b/dev-java/ibm-jdk/Manifest @@ -1,12 +1,12 @@ -MD5 cbc02bbc35f694e6dea7fc07558b42e1 ChangeLog 5576 +MD5 793641a663d1403be1022a1d8d0f1572 ChangeLog 5577 MD5 d63492e0540b1ff60f03a74c8a4a2677 ibm-jdk-1.3.0-r4.ebuild 1273 MD5 49303711c9d852850c4849675741a12a ibm-jdk-1.3.1-r1.ebuild 1332 MD5 0cb3be2ef871340b8f75ecddb45fc5b0 ibm-jdk-1.3.1-r2.ebuild 1251 MD5 14166b6f155d7a783f4e964a843e2d1d ibm-jdk-1.3.1-r3.ebuild 1774 MD5 5666c317d2eac64bb310f663b59dda68 ibm-jdk-1.4.0-r1.ebuild 1230 MD5 96866baefcdee0f34b345bcfccc0fe20 ibm-jdk-1.4.0-r2.ebuild 1132 -MD5 d2171b1b22ce975e3d36acb509dee44d ibm-jdk-1.4.1.ebuild 1776 -MD5 958464c4edfd8b01e339a5da3102ce69 files/ibm-jdk-1.4.1 483 +MD5 cf6dc7651052170fe5740a47b24eaf9c ibm-jdk-1.4.1.ebuild 1875 +MD5 c2a3afcbcfa06a46b04f5f93adf0c0c2 files/ibm-jdk-1.4.1 581 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ibm-jdk-1.3.0-r4 0 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ibm-jdk-1.3.1-r1 0 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ibm-jdk-1.3.1-r2 0 diff --git a/dev-java/ibm-jdk/files/digest-ibm-jdk-1.4.1 b/dev-java/ibm-jdk/files/digest-ibm-jdk-1.4.1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/ibm-jdk/files/digest-ibm-jdk-1.4.1 diff --git a/dev-java/ibm-jdk/files/ibm-jdk-1.4.1 b/dev-java/ibm-jdk/files/ibm-jdk-1.4.1 new file mode 100644 index 000000000000..8fe596e04e59 --- /dev/null +++ b/dev-java/ibm-jdk/files/ibm-jdk-1.4.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.4.1,v 1.1 2003/06/25 07:00:00 pylon Exp $ + +VERSION="IBM JDK @PV@" +JAVA_HOME=/opt/@P@ +CLASSPATH=/opt/@P@/jre/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.4.1.ebuild b/dev-java/ibm-jdk/ibm-jdk-1.4.1.ebuild new file mode 100644 index 000000000000..208693c4c788 --- /dev/null +++ b/dev-java/ibm-jdk/ibm-jdk-1.4.1.ebuild @@ -0,0 +1,79 @@ +# 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.4.1.ebuild,v 1.1 2003/06/25 07:00:00 pylon Exp $ + +IUSE="doc" + +inherit java nsplugins + +if [ `use ppc` ]; then + S=${WORKDIR}/IBMJava2-ppc-141 +else + S=${WORKDIR}/IBMJava2-141 +fi; +DESCRIPTION="IBM JDK 1.4.1" +SRC_UI="" + +if [ `use ppc` ]; then + SRC_JAVA="IBMJava2-SDK-141.ppc.tgz" +else + SRC_JAVA="IBMJava2-SDK-141.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.4.1* )" +RDEPEND="$DEPEND" +PROVIDE="virtual/jre-1.4.1 + virtual/jdk-1.4.1 + virtual/java-scheme-2" +LICENSE="IBM-ILNWP" +SLOT="1.4.1" +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 + + if [ `use ppc` ]; then + dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc.so + dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc_g.so + insinto /etc + doins ${FILESDIR}/cpuinfo + fi + + dohtml -a html,htm,HTML -r docs + dodoc docs/COPYRIGHT + + 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.4.1" + einfo "Then run env-update and logout and back in." + einfo "*******************************************" +} |