diff options
author | Jochen Maes <sejo@gentoo.org> | 2005-11-21 07:48:55 +0000 |
---|---|---|
committer | Jochen Maes <sejo@gentoo.org> | 2005-11-21 07:48:55 +0000 |
commit | 7a4bbd3102d84bfef3c3bcc81fddb64674d22277 (patch) | |
tree | 084273fa7fb86f0092e64a5262affd255389229e /dev-java/ibm-jdk-bin | |
parent | needs games_pkg_setup (diff) | |
download | gentoo-2-7a4bbd3102d84bfef3c3bcc81fddb64674d22277.tar.gz gentoo-2-7a4bbd3102d84bfef3c3bcc81fddb64674d22277.tar.bz2 gentoo-2-7a4bbd3102d84bfef3c3bcc81fddb64674d22277.zip |
added initial ebuild 1.5_beta thanks to Santiago Gala <sgala@apache.org> this is ppc only as i cannot test on other arches.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-java/ibm-jdk-bin')
-rw-r--r-- | dev-java/ibm-jdk-bin/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/Manifest | 3 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.5_beta1 | 1 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.5_beta1 | 12 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5_beta1.ebuild | 101 |
5 files changed, 125 insertions, 1 deletions
diff --git a/dev-java/ibm-jdk-bin/ChangeLog b/dev-java/ibm-jdk-bin/ChangeLog index 73e4ed446cda..217982a0a31e 100644 --- a/dev-java/ibm-jdk-bin/ChangeLog +++ b/dev-java/ibm-jdk-bin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/ibm-jdk-bin # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.34 2005/11/05 21:11:43 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.35 2005/11/21 07:48:55 sejo Exp $ + +*ibm-jdk-bin-1.5_beta1 (21 Nov 2005) + + 21 Nov 2005; Jochen Maes <sejo@gentoo.org> +files/ibm-jdk-bin-1.5_beta1, + +ibm-jdk-bin-1.5_beta1.ebuild: + added initial ebuild 1.5_beta thanks to Santiago Gala <sgala@apache.org> + this is ppc only as i cannot test on other arches. *ibm-jdk-bin-1.4.2.03 (06 Nov 2005) diff --git a/dev-java/ibm-jdk-bin/Manifest b/dev-java/ibm-jdk-bin/Manifest index 740be3f8a508..0b0190387f68 100644 --- a/dev-java/ibm-jdk-bin/Manifest +++ b/dev-java/ibm-jdk-bin/Manifest @@ -2,8 +2,11 @@ MD5 5a088851a5f6d1eb2f3caf6ed98fe40b ChangeLog 4717 MD5 971e2c067f8f28bd0f7c882607650469 files/cpuinfo 12 MD5 cfb8abeb0f582ad72b0971269e7dee32 files/digest-ibm-jdk-bin-1.4.2 443 MD5 d32d7e0e95c351ef33523cb7c9477b55 files/digest-ibm-jdk-bin-1.4.2.03 626 +MD5 08cb514a6b98c90e3751304c70a7e27d files/digest-ibm-jdk-bin-1.5_beta1 77 MD5 605642c801114b645d12bc93a5f3e911 files/ibm-jdk-bin-1.4.2 472 MD5 5b500b891d15c0d61d2d0e7d6638176b files/ibm-jdk-bin-1.4.2.03 479 +MD5 605642c801114b645d12bc93a5f3e911 files/ibm-jdk-bin-1.5_beta1 472 MD5 cd68995ead539f5a2af6cc4d6aea32c7 ibm-jdk-bin-1.4.2.03.ebuild 4133 MD5 052149264d14e12757fbb6d275152bc8 ibm-jdk-bin-1.4.2.ebuild 3036 +MD5 929e1b5d27e996a18026f2221be20beb ibm-jdk-bin-1.5_beta1.ebuild 2775 MD5 2f88465cd5ad6adb1c76759ff3078666 metadata.xml 348 diff --git a/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.5_beta1 b/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.5_beta1 new file mode 100644 index 000000000000..4d38d0e7990c --- /dev/null +++ b/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.5_beta1 @@ -0,0 +1 @@ +MD5 48be7a4f3104abc73286e0c5bab41839 ibm-java2-sdk-50-linux-ppc.tgz 65733869 diff --git a/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.5_beta1 b/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.5_beta1 new file mode 100644 index 000000000000..ef1c64593540 --- /dev/null +++ b/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.5_beta1 @@ -0,0 +1,12 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.5_beta1,v 1.1 2005/11/21 07:48:55 sejo Exp $ + +VERSION="IBM JDK @PV@" +JAVA_HOME=/opt/@P@ +JDK_HOME=/opt/@P@ +JAVAC=${JAVA_HOME}/bin/javac +ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" +ADDLDPATH="/opt/@P@/jre/bin/:/opt/@P@/jre/bin/classic" + +ENV_VARS="JAVA_HOME JDK_HOME JAVAC ADDPATH ADDLDPATH" diff --git a/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5_beta1.ebuild b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5_beta1.ebuild new file mode 100644 index 000000000000..738574118045 --- /dev/null +++ b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5_beta1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5_beta1.ebuild,v 1.1 2005/11/21 07:48:55 sejo Exp $ + +inherit java eutils + +DESCRIPTION="IBM Java Development Kit ${PV}" +HOMEPAGE="http://www-106.ibm.com/developerworks/java/jdk/" +SRC_URI="ppc? ( ibm-java2-sdk-50-linux-ppc.tgz )" +# ppc64? ( ibm-java2-sdk-50-linux-ppc64.tgz ) +# x86? ( IBM-Java2-SDK-142.tgz ) +# amd64? ( IBM-Java2-SDK-AMD64-142.x86_64.tgz ) +# javacomm? ( +# x86? ( IBM-Java2-JAVACOMM-142.tgz ) +# ppc64? ( IBM-Java2-JAVACOMM-142.tgz ) +# amd64? ( IBM-Java2-JAVACOMM-AMD64-142.x86_64.tgz ) +# )" +PROVIDE="virtual/jdk + virtual/jre" +SLOT="1.5" +LICENSE="IBM-J1.5" +KEYWORDS="~ppc -*" +RESTRICT="fetch" + +DEPEND="virtual/libc + >=dev-java/java-config-0.2.5 + !ppc? ( doc? ( =dev-java/java-sdk-docs-1.5* ) ) + X? ( virtual/x11 )" +RDEPEND="${DEPEND} + !ppc64? ( !amd64? ( sys-libs/lib-compat ) )" + +IUSE="X doc javacomm browserplugin mozilla" + +if use ppc; then + S="${WORKDIR}/ibm-java2-ppc-50" +elif use ppc64; then + S="${WORKDIR}/ibm-java2-ppc64-50" +elif use amd64; then + S="${WORKDIR}/ibm-java2-amd64-50" +else + S="${WORKDIR}/ibm-java2-50" +fi + + +pkg_nofetch() { + einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" + einfo "Please visit: ${HOMEPAGE}" + einfo "Download: ${A}" + einfo "Place the file in: ${DISTDIR}" + einfo "Rerun emerge" +} + +src_compile() { :; } + +src_install() { + # Copy all the files to the designated directory + mkdir -p ${D}opt/${P} + cp -pR ${S}/{bin,jre,lib,include} ${D}opt/${P}/ + + mkdir -p ${D}/opt/${P}/share + cp -pPR ${S}/{demo,src.jar} ${D}opt/${P}/share/ + + # setting the ppc stuff + #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 + + if ( use browserplugin || use mozilla ) && ! use ppc && ! use amd64 && ! use ppc64; then + local plugin="libjavaplugin_oji.so" + if has_version '>=sys-devel/gcc-3' ; then + plugin="libjavaplugin_ojigcc3.so" + fi + install_mozilla_plugin /opt/${P}/jre/bin/${plugin} + fi + + dohtml -a html,htm,HTML -r docs + dodoc ${S}/COPYRIGHT + + set_java_env ${FILESDIR}/${VMHANDLE} + +} + +pkg_postinst() { + java_pkg_postinst + if ! use X; then + echo + eerror "You're not using X so its possible that you dont have" + eerror "a X server installed, please read the following warning: " + eerror "Some parts of IBM JDK require XFree86 to be installed." + eerror "Be careful which Java libraries you attempt to use." + fi + if ! use browserplugin && use mozilla; then + ewarn + ewarn "The 'mozilla' useflag to enable the java browser plugin for applets" + ewarn "has been renamed to 'browserplugin' please update your USE" + fi + +} |