diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-06-19 21:05:09 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-06-19 21:05:09 +0000 |
commit | ac0ecba5692d03dbd3e162a5d2e8e478319fe24d (patch) | |
tree | 09c0fbd79ce9b48e103f330c4e6015f478330758 /dev-java/ibm-jdk-bin | |
parent | stable ppc64, bug 272825 (diff) | |
download | historical-ac0ecba5692d03dbd3e162a5d2e8e478319fe24d.tar.gz historical-ac0ecba5692d03dbd3e162a5d2e8e478319fe24d.tar.bz2 historical-ac0ecba5692d03dbd3e162a5d2e8e478319fe24d.zip |
Version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-java/ibm-jdk-bin')
-rw-r--r-- | dev-java/ibm-jdk-bin/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/Manifest | 11 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6.0.5.ebuild | 260 |
3 files changed, 277 insertions, 2 deletions
diff --git a/dev-java/ibm-jdk-bin/ChangeLog b/dev-java/ibm-jdk-bin/ChangeLog index f3d9bd9b4c3b..bd541a8ee809 100644 --- a/dev-java/ibm-jdk-bin/ChangeLog +++ b/dev-java/ibm-jdk-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/ibm-jdk-bin # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.202 2009/05/29 20:37:25 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.203 2009/06/19 21:05:09 caster Exp $ + +*ibm-jdk-bin-1.6.0.5 (19 Jun 2009) + + 19 Jun 2009; Vlastimil Babka <caster@gentoo.org> + +ibm-jdk-bin-1.6.0.5.ebuild: + Version bump. 29 May 2009; Vlastimil Babka <caster@gentoo.org> ibm-jdk-bin-1.4.2.13.ebuild, -ibm-jdk-bin-1.5.0.9.ebuild, diff --git a/dev-java/ibm-jdk-bin/Manifest b/dev-java/ibm-jdk-bin/Manifest index e1a37c78d8bc..8bc81c7bc000 100644 --- a/dev-java/ibm-jdk-bin/Manifest +++ b/dev-java/ibm-jdk-bin/Manifest @@ -15,6 +15,10 @@ DIST ibm-java-javacomm-6.0-4.0-linux-i386.tgz 336897 RMD160 c22d3ad9d09f869ec743 DIST ibm-java-javacomm-6.0-4.0-linux-ppc.tgz 343028 RMD160 711d942d7895ea016d060d2f0db549a5fda130e4 SHA1 3932368b932bb3e69b05e4995aad0b57baf9eea3 SHA256 5618541e0cdb38607856eb47aa1878a3db4165c2ba0d59a87ada875c9b300da0 DIST ibm-java-javacomm-6.0-4.0-linux-ppc64.tgz 342371 RMD160 57f9d943079ace31ea5777717c449c79ccefd4a8 SHA1 e54dd49c71bb014af3e33a05579b60a7e0751186 SHA256 27feede3959306f264185876440f55d5807782dc31d519600004f4868c644c4a DIST ibm-java-javacomm-6.0-4.0-linux-x86_64.tgz 339256 RMD160 ec5f116aca6c534528572b73c1a8db3ac936b67d SHA1 39c32392233baadfb234b54b7f44c67c48166d20 SHA256 10265a692a5056fe8d12c3d082f20ec113596e28bf98eb43d5a17a9a90176c8c +DIST ibm-java-javacomm-6.0-5.0-linux-i386.tgz 336897 RMD160 c22d3ad9d09f869ec743fab599463a9dbea0511e SHA1 6b645130654596096ee3949c530d1c2fc49c62f1 SHA256 2a04826238b0e2a24b611622191e3c3545ec6e2737fc9f240c8b53f19841d705 +DIST ibm-java-javacomm-6.0-5.0-linux-ppc.tgz 343028 RMD160 711d942d7895ea016d060d2f0db549a5fda130e4 SHA1 3932368b932bb3e69b05e4995aad0b57baf9eea3 SHA256 5618541e0cdb38607856eb47aa1878a3db4165c2ba0d59a87ada875c9b300da0 +DIST ibm-java-javacomm-6.0-5.0-linux-ppc64.tgz 342371 RMD160 57f9d943079ace31ea5777717c449c79ccefd4a8 SHA1 e54dd49c71bb014af3e33a05579b60a7e0751186 SHA256 27feede3959306f264185876440f55d5807782dc31d519600004f4868c644c4a +DIST ibm-java-javacomm-6.0-5.0-linux-x86_64.tgz 339256 RMD160 ec5f116aca6c534528572b73c1a8db3ac936b67d SHA1 39c32392233baadfb234b54b7f44c67c48166d20 SHA256 10265a692a5056fe8d12c3d082f20ec113596e28bf98eb43d5a17a9a90176c8c DIST ibm-java-sdk-6.0-0.0-linux-i386.tgz 86573879 RMD160 6489716e491907193c0d27050d08b3a1e1ab0a44 SHA1 0d7186d76eb1d79b245ff84342905af972e74b34 SHA256 c72e43e1f52e5910f84634ce87f186a4832dc73f93adc6a727a2069b62cd4a1d DIST ibm-java-sdk-6.0-0.0-linux-ppc.tgz 88854304 RMD160 626bec6e1f97e3fb214915c4e51421b5e206bd5d SHA1 d17570549080fd434c973298b68ee6e11eb273dd SHA256 b299eca3276a35b794f9543768e51e707051dda74d819d67f0d6660352be36f7 DIST ibm-java-sdk-6.0-0.0-linux-ppc64.tgz 90297044 RMD160 23e96a95c714bfe8e0384d806e056c6228386d89 SHA1 a5a515b312c42fd526e6ccbbe21f0d736f32a6b7 SHA256 0aa829dc7498bcb8031de2f759622bc754981a7417a89e434d1b87b4f59e41a2 @@ -23,6 +27,10 @@ DIST ibm-java-sdk-6.0-4.0-linux-i386.tgz 90258217 RMD160 21b739c30ffcbfbd1fc552a DIST ibm-java-sdk-6.0-4.0-linux-ppc.tgz 92415505 RMD160 44fb6752a5fbaaeb4a5858d5aa62fbfc6b6ec239 SHA1 3f3f0544a91e3f26142383cc5d2f573174bb7994 SHA256 4f190afa6b428b9d9f8dce992e55e37790537b860ca4c223c21234092c31d3d1 DIST ibm-java-sdk-6.0-4.0-linux-ppc64.tgz 96947121 RMD160 57e7579de3e241954353320f6ab4b25c9b8514b0 SHA1 e5c59073547405903a61fce0e165bfbe551dac24 SHA256 ddd38464395042ff60a3578ce43bdbe96f8ec5061fa18a2be2545e302f6137da DIST ibm-java-sdk-6.0-4.0-linux-x86_64.tgz 88254741 RMD160 3269fb539da0e20555d15bcd27522188456c57e4 SHA1 1c0f9580101d01c9e254f43d82cb79d6af18a00e SHA256 2ede679ebef141bb0abc07f85307b197dbb1b14aefdde24b3bbc13574649541d +DIST ibm-java-sdk-6.0-5.0-linux-i386.tgz 91908789 RMD160 6dea3c05627e1f80944f7d63d1eebfce8e502d89 SHA1 6b56acb94d003089015d36d537080b4548e5c5aa SHA256 79ff87ac2615dbdc4f6bd8bc1bac8e23f2aee6c72862cd94a6895ad0f6477424 +DIST ibm-java-sdk-6.0-5.0-linux-ppc.tgz 94077034 RMD160 f9c477b40fb8c7f7d1fb3f49cbffca00e9de15c5 SHA1 57b99a36455294a8829c0333eef773129151f1b6 SHA256 163ace45acc31ef7025d4000067ad6c26ee33f09f8ee691815c08bc0330f4b88 +DIST ibm-java-sdk-6.0-5.0-linux-ppc64.tgz 98352471 RMD160 0c6f63cc5a8d78b37d5bf771385604e943743692 SHA1 f7d28c726f16731c42d6415bfc61addca1ef8add SHA256 876ab123496a26f29e950a7e404b84d928c3a7760b9155b59bf66a1952be4cce +DIST ibm-java-sdk-6.0-5.0-linux-x86_64.tgz 89419783 RMD160 5cb733ca1aa0626294aea6ab531df4be16a84117 SHA1 5369f40393292754af97a436515593f50c5aa9e7 SHA256 f94aba4597eccfa60cbe0dd46c1e87c7864a87c80371d39f67f59c01a57e5dfb DIST ibm-java2-javacomm-5.0-9.0-linux-i386.tgz 120024 RMD160 08e537b7c652147070dac5fe8398ca56f15651f0 SHA1 3369eba1a5a75bea8485f6599e75e2903005151e SHA256 f8004ce4634497cfa1a1043629b16a2b04508b45817a5d9d2fc1780b4493240d DIST ibm-java2-javacomm-5.0-9.0-linux-ppc.tgz 124745 RMD160 866426abe87a107e4160adf7c4aee1cbba2e39d8 SHA1 9af1d1a1f75868a31564f4f112185731effc7c06 SHA256 fe5ddf4a6aa6ea95d7b44104e27f05a9a382d31c1192753108fb8f76f72d7fa5 DIST ibm-java2-javacomm-5.0-9.0-linux-ppc64.tgz 128252 RMD160 5e7eb81d883ed4f2a5e92ac3484129a6ed361e99 SHA1 715a98e91903693a2b9190e9ad100d0f78cdd315 SHA256 e9e940ace0e2d42ab269002f6296947f3b83e82d836d85abd8d3450dea2e52eb @@ -39,5 +47,6 @@ EBUILD ibm-jdk-bin-1.4.2.13.ebuild 5026 RMD160 9cb6c1147e87a3a3c9791ac4f973af3aa EBUILD ibm-jdk-bin-1.5.0.9-r1.ebuild 7613 RMD160 c6bf678e91d20ad274aa93943d9f7f590a94f153 SHA1 763047a089607ccdcf170f48cd57db1fd3ce3334 SHA256 bfa54be696933b3acd231b831b1406a0c425bcb91b1f471793d6b110abd8c04e EBUILD ibm-jdk-bin-1.6.0.0.ebuild 6969 RMD160 c30cf46a9135f90452c3c7746d2a4468db21b286 SHA1 2b855b25ea4071f0f689a14a001882ff7a8b46a7 SHA256 cd2a7cb30ad43c60673c8dfa3bc375da57430ab7316368c17771ba2da54c7329 EBUILD ibm-jdk-bin-1.6.0.4.ebuild 9149 RMD160 b574d12f9d094adf03776aa3b14c68272434c028 SHA1 f6c4bc9926f4d1e2b57916d935aa598f829084a7 SHA256 795032fab5a280b3c41862ad023c451227d3ab065b040717362ea4c1326650a1 -MISC ChangeLog 31712 RMD160 ad7d9e14950e18487e26a5b132b6e5265b2868e3 SHA1 aadd355b67a533d49d78d7435bc2bd924a5b6d40 SHA256 f8d1282978ae07ebc166337a7e6acffb016856e0a3e4f833256ece109b306789 +EBUILD ibm-jdk-bin-1.6.0.5.ebuild 9151 RMD160 95b7f810fef0dfdc1404b1f459c011b8451b8f58 SHA1 f381c3cfc123a86c85b0a4ce77f1599b0ef51d37 SHA256 58f96699db72a4d1e6f4749828fbbc5c9504a119b661201c18983919e74bacba +MISC ChangeLog 31847 RMD160 094dc792b9214abd3c29a2fa1b8fed1c460e7864 SHA1 ab4603efb2b1c17667b0ef6d26864ae9e2e49782 SHA256 2f7813e359c7a1ae2c26842f0b9b1b90243b736d4d4ef6d1564f5d8753df0090 MISC metadata.xml 310 RMD160 ac3496cf91b69c0bab3ab8fb6656fbcbf8845f8d SHA1 c8bca85a871e8f7c11481456b490a0fd09175884 SHA256 ffd62e0957318b6c4f3308be446258eae8ce7b8436075f231a30e2ae4691fabf diff --git a/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6.0.5.ebuild b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6.0.5.ebuild new file mode 100644 index 000000000000..d00ad0a62a0a --- /dev/null +++ b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6.0.5.ebuild @@ -0,0 +1,260 @@ +# Copyright 1999-2009 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.6.0.5.ebuild,v 1.1 2009/06/19 21:05:09 caster Exp $ + +inherit java-vm-2 versionator eutils + +JDK_RELEASE=$(get_version_component_range 2-3) +JAVACOMM_RELEASE=$(get_version_component_range 3) +SERVICE_RELEASE=$(get_version_component_range 4) +SERVICE_RELEASE_LINK="${SERVICE_RELEASE}" +TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" +#JAVACOMM_PV="3.${JAVACOMM_RELEASE}-${SERVICE_RELEASE}.0" +# looks like they didn't bump javacomm +JAVACOMM_PV_ORIG="3.${JAVACOMM_RELEASE}-0.0" +JAVACOMM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" + +JDK_DIST_PREFIX="ibm-java-sdk-${TGZ_PV}-linux" +JAVACOMM_DIST_PREFIX="ibm-java-javacomm-${JAVACOMM_PV}-linux" +JAVACOMM_DIST_PREFIX_ORIG="ibm-java-javacomm-${JAVACOMM_PV_ORIG}-linux" + +X86_JDK_DIST="${JDK_DIST_PREFIX}-i386.tgz" +X86_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-i386.tgz" +X86_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-i386.tgz" + +AMD64_JDK_DIST="${JDK_DIST_PREFIX}-x86_64.tgz" +AMD64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-x86_64.tgz" +AMD64_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-x86_64.tgz" + +PPC_JDK_DIST="${JDK_DIST_PREFIX}-ppc.tgz" +PPC_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc.tgz" +PPC_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-ppc.tgz" + +PPC64_JDK_DIST="${JDK_DIST_PREFIX}-ppc64.tgz" +PPC64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc64.tgz" +PPC64_JAVACOMM_DIST_ORIG="${JAVACOMM_DIST_PREFIX_ORIG}-ppc64.tgz" + +if use x86; then + JDK_DIST=${X86_JDK_DIST} + JAVACOMM_DIST=${X86_JAVACOMM_DIST} + JAVACOMM_DIST_ORIG=${X86_JAVACOMM_DIST_ORIG} + S="${WORKDIR}/ibm-java-i386-60" + LINK_ARCH="intel" +elif use amd64; then + JDK_DIST=${AMD64_JDK_DIST} + JAVACOMM_DIST=${AMD64_JAVACOMM_DIST} + JAVACOMM_DIST_ORIG=${AMD64_JAVACOMM_DIST_ORIG} + S="${WORKDIR}/ibm-java-x86_64-60" + LINK_ARCH="amd64" +elif use ppc; then + JDK_DIST=${PPC_JDK_DIST} + JAVACOMM_DIST=${PPC_JAVACOMM_DIST} + JAVACOMM_DIST_ORIG=${PPC_JAVACOMM_DIST_ORIG} + S="${WORKDIR}/ibm-java-ppc-60" + LINK_ARCH="ipseries32" +elif use ppc64; then + JDK_DIST=${PPC64_JDK_DIST} + JAVACOMM_DIST=${PPC64_JAVACOMM_DIST} + JAVACOMM_DIST_ORIG=${PPC64_JAVACOMM_DIST_ORIG} + S="${WORKDIR}/ibm-java-ppc64-60" + LINK_ARCH="ipseries64" +fi + +DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=swg-sdk6&S_PKG=${LINK_ARCH}_6sr${SERVICE_RELEASE}&S_TACT=105AGX05&S_CMP=JDK" + +SLOT="1.6" +DESCRIPTION="IBM Java SE Development Kit" +HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/" +DOWNLOADPAGE="${HOMEPAGE}linux/download.html" +# bug #125178 +ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html" + +SRC_URI=" + x86? ( ${X86_JDK_DIST} ) + amd64? ( ${AMD64_JDK_DIST} ) + ppc? ( ${PPC_JDK_DIST} ) + ppc64? ( ${PPC64_JDK_DIST} ) + javacomm? ( + x86? ( ${X86_JAVACOMM_DIST} ) + amd64? ( ${AMD64_JAVACOMM_DIST} ) + ppc? ( ${PPC_JAVACOMM_DIST} ) + ppc64? ( ${PPC64_JAVACOMM_DIST} ) + )" +LICENSE="IBM-J1.6" +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +RESTRICT="fetch" +IUSE="X alsa doc examples javacomm nsplugin odbc" + +RDEPEND=" + ppc? ( =virtual/libstdc++-3.3 ) + ppc64? ( =virtual/libstdc++-3.3 ) + X? ( + x11-libs/libXext + x11-libs/libXft + x11-libs/libXi + x11-libs/libXp + x11-libs/libXtst + x11-libs/libX11 + amd64? ( x11-libs/libXt ) + ) + alsa? ( media-libs/alsa-lib ) + doc? ( =dev-java/java-sdk-docs-1.6.0* ) + odbc? ( dev-db/unixODBC )" + +DEPEND="" + +QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/libj9jvmti24.so +opt/${P}/jre/lib/i386/libj9vm24.so +opt/${P}/jre/lib/i386/libjclscar_24.so +opt/${P}/jre/lib/i386/motif21/libmawt.so +opt/${P}/jre/lib/i386/libj9thr24.so +opt/${P}/jre/lib/i386/libj9jit24.so +opt/${P}/jre/lib/i386/libj9dbg24.so +opt/${P}/jre/lib/i386/libj9gc24.so" + +QA_EXECSTACK_x86="opt/${P}/jre/bin/classic/libjvm.so +opt/${P}/jre/lib/i386/j9vm/libjvm.so +opt/${P}/jre/lib/i386/libj9jvmti24.so +opt/${P}/jre/lib/i386/libj9hookable24.so +opt/${P}/jre/lib/i386/libj9vm24.so +opt/${P}/jre/lib/i386/libjclscar_24.so +opt/${P}/jre/lib/i386/libj9thr24.so +opt/${P}/jre/lib/i386/libj9dmp24.so +opt/${P}/jre/lib/i386/libj9prt24.so +opt/${P}/jre/lib/i386/libj9jit24.so +opt/${P}/jre/lib/i386/libiverel24.so +opt/${P}/jre/lib/i386/libj9trc24.so +opt/${P}/jre/lib/i386/libj9dbg24.so +opt/${P}/jre/lib/i386/libj9shr24.so +opt/${P}/jre/lib/i386/libj9gc24.so +opt/${P}/jre/lib/i386/libj9bcv24.so +opt/${P}/jre/lib/i386/classic/libjvm.so" + +QA_EXECSTACK_amd64="opt/${P}/jre/lib/amd64/default/libjvm.so +opt/${P}/jre/lib/amd64/default/libj9jvmti24.so +opt/${P}/jre/lib/amd64/default/libj9hookable24.so +opt/${P}/jre/lib/amd64/default/libj9vm24.so +opt/${P}/jre/lib/amd64/default/libjclscar_24.so +opt/${P}/jre/lib/amd64/default/libj9jpi24.so +opt/${P}/jre/lib/amd64/default/libj9thr24.so +opt/${P}/jre/lib/amd64/default/libj9dmp24.so +opt/${P}/jre/lib/amd64/default/libj9prt24.so +opt/${P}/jre/lib/amd64/default/libj9jit24.so +opt/${P}/jre/lib/amd64/default/libiverel24.so +opt/${P}/jre/lib/amd64/default/libj9trc24.so +opt/${P}/jre/lib/amd64/default/libj9dbg24.so +opt/${P}/jre/lib/amd64/default/libj9shr24.so +opt/${P}/jre/lib/amd64/default/libj9gc24.so +opt/${P}/jre/lib/amd64/default/libj9bcv24.so +opt/${P}/jre/lib/amd64/compressedrefs/libjvm.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9jvmti24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9hookable24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9vm24.so +opt/${P}/jre/lib/amd64/compressedrefs/libjclscar_24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9jpi24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9thr24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9dmp24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9prt24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9jit24.so +opt/${P}/jre/lib/amd64/compressedrefs/libiverel24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9trc24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9dbg24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9shr24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9gc24.so +opt/${P}/jre/lib/amd64/compressedrefs/libj9bcv24.so" + +pkg_nofetch() { + einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" + einfo "Please visit: ${DOWNLOADPAGE}" + + einfo "Under Java SE 6, download SR${SERVICE_RELEASE} for your arch:" + einfo "${JDK_DIST}" + if use javacomm ; then + einfo "Also download ${JAVACOMM_DIST_ORIG}" + ewarn "and save it as ${JAVACOMM_DIST}" + ewarn "Renaming is needed because javacomm changes content without changing filename." + fi + + einfo "You can also use a direct link to your arch download page:" + einfo "${DIRECT_DOWNLOAD}" + einfo "Place the file(s) in: ${DISTDIR}" + einfo "Then restart emerge: 'emerge --resume'" + + einfo "Note: if SR${SERVICE_RELEASE} is not available at ${DOWNLOADPAGE}" + einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page" + einfo "isn't updated, but the files should still available through the" + einfo "direct link to arch download page. If it doesn't work, file a bug." +} + +src_unpack() { + unpack ${JDK_DIST} + if use javacomm; then + mkdir "${WORKDIR}/javacomm/" || die + cd "${WORKDIR}/javacomm/" + unpack ${JAVACOMM_DIST} + fi + cd "${S}" + + # bug #126105 + epatch "${FILESDIR}/${PN}-jawt.h.patch" +} + +src_compile() { :; } + +src_install() { + # Copy all the files to the designated directory + dodir /opt/${P} + cp -pR "${S}"/{bin,jre,lib,include,src.zip} "${D}/opt/${P}/" || die + + if use examples; then + cp -pPR "${S}"/demo "${D}"/opt/${P}/ || die + fi + if use javacomm; then + chmod -x "${WORKDIR}"/javacomm/*/jar/*.jar "${WORKDIR}"/javacomm/*/lib/*.properties || die + cp -pR "${WORKDIR}"/javacomm/*/jar/*.jar "${D}"/opt/${P}/jre/lib/ext/ || die + cp -pR "${WORKDIR}"/javacomm/*/lib/*.properties "${D}"/opt/${P}/jre/lib/ || die + cp -pR "${WORKDIR}"/javacomm/*/lib/*.so "${D}"/opt/${P}/jre/lib/$(get_system_arch)/ || die + if use examples; then + cp -pPR "${WORKDIR}"/javacomm/*/examples "${D}"/opt/${P}/ || die + fi + fi + + if use x86 || use ppc; then + if use nsplugin; then + local plugin="/opt/${P}/jre/plugin/$(get_system_arch)/ns7/libjavaplugin_oji.so" + install_mozilla_plugin "${plugin}" + fi + fi + + local desktop_in="${D}/opt/${P}/jre/plugin/desktop/sun_java.desktop" + if [[ -f "${desktop_in}" ]]; then + local desktop_out="${T}/ibm_jdk-${SLOT}.desktop" + # install control panel for Gnome/KDE + # The jre also installs these so make sure that they do not have the same + # Name + sed -e "s/\(Name=\)Java/\1 Java Control Panel for IBM JDK ${SLOT}/" \ + -e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \ + -e "s#Icon=.*#Icon=/opt/${P}/jre/plugin/desktop/sun_java.png#" \ + "${desktop_in}" > \ + "${desktop_out}" || die + + domenu "${desktop_out}" || die + fi + + dohtml -a html,htm,HTML -r docs || die + dodoc "${S}"/{copyright,notices.txt,readmefirst.lnx.txt} || die + + set_java_env + + # a workaround to fix the BOOTCLASSPATH in our env file + # this is not optimal, using -Xcompressedrefs would probably make it + # expect the compressedrefs version... + if use amd64; then + sed -i -e "s|vm.jar|amd64/default/jclSC160/vm.jar|g" "${D}${JAVA_VM_CONFIG_DIR}/${VMHANDLE}" || die "sed failed" + fi + if use ppc64; then + sed -i -e "s|vm.jar|ppc64/default/jclSC160/vm.jar|g" "${D}${JAVA_VM_CONFIG_DIR}/${VMHANDLE}" || die "sed failed" + fi + + java-vm_revdep-mask +} |