diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-08-01 06:43:00 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-08-01 06:43:00 +0000 |
commit | 8464a676b1ee5932430c18faf695758e6fdb1333 (patch) | |
tree | eb9bbaf47c1630078a06f3c720593d4d4d149bad /dev-java | |
parent | Remove USE depend for media-libs/alsa-lib[midi]. (diff) | |
download | historical-8464a676b1ee5932430c18faf695758e6fdb1333.tar.gz historical-8464a676b1ee5932430c18faf695758e6fdb1333.tar.bz2 historical-8464a676b1ee5932430c18faf695758e6fdb1333.zip |
Version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-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.5.0.10.ebuild | 256 |
3 files changed, 273 insertions, 2 deletions
diff --git a/dev-java/ibm-jdk-bin/ChangeLog b/dev-java/ibm-jdk-bin/ChangeLog index bd541a8ee809..3b34e32d1b58 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.203 2009/06/19 21:05:09 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.204 2009/08/01 06:43:00 caster Exp $ + +*ibm-jdk-bin-1.5.0.10 (01 Aug 2009) + + 01 Aug 2009; Vlastimil Babka <caster@gentoo.org> + +ibm-jdk-bin-1.5.0.10.ebuild: + Version bump. *ibm-jdk-bin-1.6.0.5 (19 Jun 2009) diff --git a/dev-java/ibm-jdk-bin/Manifest b/dev-java/ibm-jdk-bin/Manifest index 8bc81c7bc000..76033c9d63ae 100644 --- a/dev-java/ibm-jdk-bin/Manifest +++ b/dev-java/ibm-jdk-bin/Manifest @@ -31,10 +31,18 @@ DIST ibm-java-sdk-6.0-5.0-linux-i386.tgz 91908789 RMD160 6dea3c05627e1f80944f7d6 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-10.0-linux-i386.tgz 120018 RMD160 55f92b556fb60c13743e9ba9bcd02297e4459e9d SHA1 d2a0e18d30c91d6d72043a2f1a5ca3ee4df6e11c SHA256 72ab8e1c0f9617c63fc991def5e196945a7704d48455cf240639d90ab965ce5c +DIST ibm-java2-javacomm-5.0-10.0-linux-ppc.tgz 124733 RMD160 f542634f87becaf330996c073d1fbe9f5e1b9b10 SHA1 47ea6ba585e6512b1526e271ad96767f11468ccc SHA256 8d8067a30a8a8ea0d44eb65cea4ef3a929168da2ba281a26513f8106eb0b307e +DIST ibm-java2-javacomm-5.0-10.0-linux-ppc64.tgz 128252 RMD160 b2d26cfb219f412a71bbda89ed6c64413abc3fd0 SHA1 d4a80a4c7f7a08b01d73558c808be225523bdef2 SHA256 6a9c40dd4d9f7ab8fa07bcbefc8ff0b531e3e06807f820e62aa1777d5c1b2cd6 +DIST ibm-java2-javacomm-5.0-10.0-linux-x86_64.tgz 121869 RMD160 48bd06dcdc39deaf74e9c8920ebdcabe28b91ebe SHA1 7120144031fe03c100910c121de1ed11281b5d28 SHA256 50cf7fb9863bee4faa8b824bff8e9ad4ea7a423847db784fe6b7f3e6d3964f2d 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 DIST ibm-java2-javacomm-5.0-9.0-linux-x86_64.tgz 121807 RMD160 fe6fa07d8791cf47729a3f1dabcb68e5a9ebaa87 SHA1 c5d74dec2494f5ca6020d5966a83673304b5921c SHA256 99f9b77096f02ca789e7ef74fd980ae601cb467f5de6647a8cdf93ac4ad2f09c +DIST ibm-java2-sdk-5.0-10.0-linux-i386.tgz 65587370 RMD160 2e83b374a230dbe6f1ab96f199090324353ebbb4 SHA1 984c4f43c215fac7ffec8a11098f508ca8fb8401 SHA256 c44e4e2e50f14d35f80317e1533cd3058e4ae3f6d16aea49c52855fc91fd873f +DIST ibm-java2-sdk-5.0-10.0-linux-ppc.tgz 73235001 RMD160 28fd9ff40b4250c4e8dfec2b51332cb5eedb0bda SHA1 6ecf43f030de686b301a7e9e10cb939c86e3f746 SHA256 58065d6bf68d2eb700a7b97dba76f9b4297e1df83512498d32364e6b00a5c25e +DIST ibm-java2-sdk-5.0-10.0-linux-ppc64.tgz 71438646 RMD160 1754d334acd69d4ca5f7f927723b1a2a85bc4cf3 SHA1 ad9665ed0638b2af4db1c2b2044da4111290acd8 SHA256 4c08497a7ee3e7cdfad41e525cfa0002ad3085aa9d00f60069d9c106cef5fcb6 +DIST ibm-java2-sdk-5.0-10.0-linux-x86_64.tgz 67042847 RMD160 3fcef4ecad32f95a8dc4f8d79cd5b1f7ddf9d6c4 SHA1 9ad7103e387e490ec7ed114e7cb9980c5b3576e6 SHA256 adc652d534f02b997069f8eba51d9bc6a88a7033bbe9fd19d9be2433fc333203 DIST ibm-java2-sdk-5.0-9.0-linux-i386.tgz 65023960 RMD160 55821a14427ad8494f31755b1b5e0c35693cda10 SHA1 83558182b0e7ab23da62a7bbdc67ec8b04db4ed8 SHA256 873c8b26d5e096e258c34aad0f83b526975f232370b6b90722815fa9672a1432 DIST ibm-java2-sdk-5.0-9.0-linux-ppc.tgz 72849470 RMD160 745bfae794ecc9fdfa0a5d98782699e499e068fe SHA1 9688a553e4687171c8f3f9ca1840928f7c9e04b2 SHA256 5399d02e7d63272f609c94189a31dd39f67633d62525422e402905d95782cbe8 DIST ibm-java2-sdk-5.0-9.0-linux-ppc64.tgz 70883997 RMD160 783260752b670a709b431586635412f1ee7db9a9 SHA1 5ef4657bdda2d65486978515ea578d74d4366570 SHA256 4654a4d6ced5a7e0503c41e54cd25f2c5c9823acd4f6b213f224c04b02b064d5 @@ -44,9 +52,10 @@ DIST ibm-javacomm-3.0-0.0-linux-ppc.tgz 403218 RMD160 b791c0b5a2f8dd8165bda31443 DIST ibm-javacomm-3.0-0.0-linux-ppc64.tgz 407966 RMD160 d7c1185660e680b4f8d2a3591616cb29be6cee83 SHA1 c257cdf07b3a379e51718c4f4360c501d15600a5 SHA256 ef135dc9b13484b6b5bc81c11d186de1d65ca4db2dde765c4a8b41a4970f1fe8 DIST ibm-javacomm-3.0-0.0-linux-x86_64.tgz 401081 RMD160 ac9e7fe4dfc47e7b54bd01e9b806644bcfcf1a8c SHA1 adab954713c52d419ea47b7266a59b90d6f71161 SHA256 181cc8d90a3404345a40dc11b4f83230d919cdce025256418483314d11f91dfd EBUILD ibm-jdk-bin-1.4.2.13.ebuild 5026 RMD160 9cb6c1147e87a3a3c9791ac4f973af3aa06040a8 SHA1 fb28abe5605acfa051f730aa01f60fb9f72040cb SHA256 622c82344134d03b5f288b520562da6d4f27d32d0c5ebbed241956653c7d4ea2 +EBUILD ibm-jdk-bin-1.5.0.10.ebuild 7615 RMD160 45cbaad031576c0bdb688f5ad657b3dba90a5d57 SHA1 b3767f4e7fe0019b556f2083ce2911219473877e SHA256 11a4231e4098d20cd7eb6646fe40184b1d75066a63aec6b21f87cd0658910a3a 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 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 ChangeLog 31984 RMD160 3ce9fae3cf27284f770a299b3eab809708026795 SHA1 63a6fe440ce2b7f6d87c7eeebdc32112722d4b95 SHA256 e6738083caa3cc66ebde39f28c8d5fe93a2c49358f253cf45d09373d2248c60c MISC metadata.xml 310 RMD160 ac3496cf91b69c0bab3ab8fb6656fbcbf8845f8d SHA1 c8bca85a871e8f7c11481456b490a0fd09175884 SHA256 ffd62e0957318b6c4f3308be446258eae8ce7b8436075f231a30e2ae4691fabf diff --git a/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.10.ebuild b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.10.ebuild new file mode 100644 index 000000000000..e3722a7aba52 --- /dev/null +++ b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.10.ebuild @@ -0,0 +1,256 @@ +# 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.5.0.10.ebuild,v 1.1 2009/08/01 06:43:00 caster Exp $ + +inherit java-vm-2 versionator eutils + +JDK_RELEASE=$(get_version_component_range 2-3) +SERVICE_RELEASE=$(get_version_component_range 4) +SERVICE_RELEASE_LINK="${SERVICE_RELEASE}" +TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" + +JDK_DIST_PREFIX="ibm-java2-sdk-${TGZ_PV}-linux" +JAVACOMM_DIST_PREFIX="ibm-java2-javacomm-${TGZ_PV}-linux" + +X86_JDK_DIST="${JDK_DIST_PREFIX}-i386.tgz" +X86_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-i386.tgz" + +AMD64_JDK_DIST="${JDK_DIST_PREFIX}-x86_64.tgz" +AMD64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-x86_64.tgz" + +PPC_JDK_DIST="${JDK_DIST_PREFIX}-ppc.tgz" +PPC_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc.tgz" + +PPC64_JDK_DIST="${JDK_DIST_PREFIX}-ppc64.tgz" +PPC64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc64.tgz" + +if use x86; then + JDK_DIST=${X86_JDK_DIST} + JAVACOMM_DIST=${X86_JAVACOMM_DIST} + S="${WORKDIR}/ibm-java2-i386-50" + LINK_ARCH="intel" +elif use amd64; then + JDK_DIST=${AMD64_JDK_DIST} + JAVACOMM_DIST=${AMD64_JAVACOMM_DIST} + S="${WORKDIR}/ibm-java2-x86_64-50" + LINK_ARCH="amd64" +elif use ppc; then + JDK_DIST=${PPC_JDK_DIST} + JAVACOMM_DIST=${PPC_JAVACOMM_DIST} + S="${WORKDIR}/ibm-java2-ppc-50" + LINK_ARCH="ipseries32" +elif use ppc64; then + JDK_DIST=${PPC64_JDK_DIST} + JAVACOMM_DIST=${PPC64_JAVACOMM_DIST} + S="${WORKDIR}/ibm-java2-ppc64-50" + LINK_ARCH="ipseries64" +fi + +#DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=sdk5&S_PKG=${LINK_ARCH}5sr${SERVICE_RELEASE_LINK}&S_TACT=105AGX05&S_CMP=JDK" +DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=sdk5&S_PKG=${LINK_ARCH}5sr${SERVICE_RELEASE_LINK}-ssu&S_TACT=105AGX05&S_CMP=JDK" + +SLOT="1.5" +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.5" +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +RESTRICT="fetch" +IUSE="X alsa doc examples javacomm nsplugin odbc" + +RDEPEND="=virtual/libstdc++-3.3 + X? ( + x11-libs/libXext + x11-libs/libXft + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXp + x11-libs/libXtst + x11-libs/libXt + x11-libs/libX11 + ) + alsa? ( media-libs/alsa-lib ) + doc? ( =dev-java/java-sdk-docs-1.5.0* ) + nsplugin? ( + x86? ( =x11-libs/gtk+-2* =x11-libs/gtk+-1* ) + ppc? ( =x11-libs/gtk+-1* ) + ) + odbc? ( dev-db/unixODBC )" + +DEPEND="" + +QA_EXECSTACK_amd64="opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9vrb23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9trc23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9shr23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9hookable23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9dyn23.so + opt/${P}/jre/bin/libj9dmp23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9bcv23.so + opt/${P}/jre/bin/libiverel23.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/j9vm/libjvm.so" + +QA_TEXTRELS_amd64="opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9jit23.so" + +QA_EXECSTACK_x86="opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9hookable23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9dyn23.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9dmp23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libiverel23.so + opt/${P}/jre/bin/libj9trc23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9shr23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9vrb23.so + opt/${P}/jre/bin/libj9bcv23.so + opt/${P}/jre/bin/libj9aotrt23.so + opt/${P}/jre/bin/classic/libjvm.so" + +QA_TEXTRELS_ppc="opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9aotrt23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9gcchk23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libj9jitd23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9ute23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libjaas.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libjsig.so +" + +QA_TEXTRELS_ppc64="opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libjsig.so + opt/${P}/jre/bin/libj9jitd23.so + opt/${P}/jre/bin/libj9ute23.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9gcchk23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9jit23.so" + +QA_TEXTRELS_x86="opt/${P}/jre/bin/lib*.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/xawt/libmawt.so + opt/${P}/jre/bin/javaplugin.so + opt/${P}/jre/bin/motif21/libmawt.so + opt/${P}/jre/bin/headless/libmawt.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/lib/i386/libdeploy.so" + +pkg_nofetch() { + einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" + einfo "Please visit: ${DOWNLOADPAGE}" + +# einfo "Under J2SE 5.0, download SR${SERVICE_RELEASE} for your arch:" + einfo "Under J2SE 5.0, download SR${SERVICE_RELEASE}-SSU for your arch:" + einfo "(note that we switched to tgz format because it's now versioned)" + einfo "${JDK_DIST}" + if use javacomm ; then + einfo "${JAVACOMM_DIST}" + fi + + einfo "You can use 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 "Note: if SR${SERVICE_RELEASE}-SSU 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 ${A} + 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.jar} "${D}/opt/${P}/" + + dodir /opt/${P}/share + if use examples; then + cp -pPR "${S}/demo" "${D}/opt/${P}/share/" + fi + + local x86plugin=libjavaplugin_ojigtk2.so + local ppcplugin=libjavaplugin_oji.so + local jrebindest="${D}/opt/${P}/jre/bin/" + + local plugin + if use x86; then + plugin=${x86plugin} + elif use ppc; then + plugin=${ppcplugin} + fi + + plugin=/opt/${P}/jre/bin/${plugin} + + if use x86 || use ppc; then + if use nsplugin; then + install_mozilla_plugin ${plugin} + fi + fi + + dohtml -a html,htm,HTML -r docs + dodoc "${S}/COPYRIGHT" + + set_java_env + java-vm_revdep-mask +} |