diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-07-22 22:44:36 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-07-22 22:44:36 +0000 |
commit | 5e7049e8977be13ae6b1d4e303804b650a5da4db (patch) | |
tree | 9816f0b3521c33501255b8035c8a8741342b3f23 /dev-java | |
parent | 2.1.3_rc9 bump (diff) | |
download | historical-5e7049e8977be13ae6b1d4e303804b650a5da4db.tar.gz historical-5e7049e8977be13ae6b1d4e303804b650a5da4db.tar.bz2 historical-5e7049e8977be13ae6b1d4e303804b650a5da4db.zip |
Version bump, bug #184339. No more mercuryprofiler in 1.5.
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'dev-java')
6 files changed, 242 insertions, 15 deletions
diff --git a/dev-java/jrockit-jdk-bin/ChangeLog b/dev-java/jrockit-jdk-bin/ChangeLog index fbfd59b69de7..50e6530cb7ad 100644 --- a/dev-java/jrockit-jdk-bin/ChangeLog +++ b/dev-java/jrockit-jdk-bin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/jrockit-jdk-bin # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog,v 1.36 2007/07/02 14:33:55 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog,v 1.37 2007/07/22 22:44:36 caster Exp $ + +*jrockit-jdk-bin-1.5.0.11 (22 Jul 2007) +*jrockit-jdk-bin-1.4.2.14 (22 Jul 2007) + + 22 Jul 2007; Vlastimil Babka <caster@gentoo.org> + +jrockit-jdk-bin-1.4.2.14.ebuild, +jrockit-jdk-bin-1.5.0.11.ebuild: + Version bump, bug #184339. No more mercuryprofiler in 1.5. 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> jrockit-jdk-bin-1.4.2.13.ebuild, jrockit-jdk-bin-1.5.0.06-r1.ebuild, diff --git a/dev-java/jrockit-jdk-bin/Manifest b/dev-java/jrockit-jdk-bin/Manifest index a8b68b279fec..adc0d3129e55 100644 --- a/dev-java/jrockit-jdk-bin/Manifest +++ b/dev-java/jrockit-jdk-bin/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX jrockit-jdk-bin-1.4.2.08 282 RMD160 b09395b85e11eb18b445184c411de14ba99c7e07 SHA1 95872c422ada1f33d76770c5dee0c7847a06c656 SHA256 fcc999eb9a13d3894b0bc954335ac56dd8b57cc96d4639320e783be32b2a67f0 MD5 0bcb602c489408770b8689a3b7541b18 files/jrockit-jdk-bin-1.4.2.08 282 RMD160 b09395b85e11eb18b445184c411de14ba99c7e07 files/jrockit-jdk-bin-1.4.2.08 282 @@ -25,10 +22,19 @@ DIST jrockit-R27.2.0-jdk1.4.2_13-linux-ipf.bin 47627876 RMD160 2d5f9247a52ea8999 DIST jrockit-R27.2.0-jdk1.5.0_10-linux-ia32.bin 122196072 RMD160 4dfea51f73f655332e0ec74bf4fccb541b3c6f10 SHA1 84c908f855d71532134c0113cd1677c8e790dc82 SHA256 7405fbe7ea07581ef1368cc41165eb3eef9bda25450a7fc81fc9ef1cd29f5057 DIST jrockit-R27.2.0-jdk1.5.0_10-linux-ipf.bin 93844561 RMD160 f9f82fb7a36412ff1f1c4f8f291674919763e060 SHA1 9fe5fa3136b7496bfaafa3968d622dfab4f5e198 SHA256 e49f4bcb027294a4866b1ff428c5d1225161392d7f70624f25199bf429fd9e4e DIST jrockit-R27.2.0-jdk1.5.0_10-linux-x64.bin 122849203 RMD160 c6a29c845fd9b5fb9fab8754be90c33351a88a68 SHA1 cbb7b0a5c70bad4acdb19982e37da38fbcf7b6d1 SHA256 82d1bda46bac794f65e7c97c03e332e318070cd20ca427cc73ca987f07cd72e8 +DIST jrockit-R27.3.1-jdk1.4.2_14-linux-ia32.bin 77007816 RMD160 f1a94faa21f2a44493627f08edd230a652073050 SHA1 e2e1f499b0a472d014015452fc40dc8b434b6421 SHA256 f4378db944a4355ad44d9c3e5b8a803922b5e30e3168613bcc61c5d746d6d8b8 +DIST jrockit-R27.3.1-jdk1.4.2_14-linux-ipf.bin 47884542 RMD160 858de4a54423288554e34bf23bfcca996fc6790c SHA1 bf02c98a1308ad5d8dcddde3fc32ef26d0311503 SHA256 8c6b7d4a56b007e0005d024d63544b31f6549f9da9cac45372e1e8cff1aa29ee +DIST jrockit-R27.3.1-jdk1.5.0_11-linux-ia32.bin 93471413 RMD160 68a90425d49e6b057e74d7fd59a4d530620d6f9b SHA1 55149244dce5e1d807dfca90b004e243e12db5b1 SHA256 ec0703c290a1c10022acea35390cf872d587104cca16940a7e93faa2537c90c2 +DIST jrockit-R27.3.1-jdk1.5.0_11-linux-ipf.bin 63462858 RMD160 b317e67bc9a8a5fddae86dd60e7f71f5aebd7731 SHA1 3eeb7245a299b2230a7c95240f0172817de41727 SHA256 4711624662cae7d0645f0439696ef4b639a55671f2b563d940ea2b6afde34dc8 +DIST jrockit-R27.3.1-jdk1.5.0_11-linux-x64.bin 94096622 RMD160 9c93723048d318b15dcc99150cca0788c081e700 SHA1 9dd4f343aef8c57f851209d6ede306dd8e3a071e SHA256 386fced62d44a5eb14391af2c4f4d89026ab65d43253ce9609ead02c688e0b3b EBUILD jrockit-jdk-bin-1.4.2.13.ebuild 2410 RMD160 8a512ce976e866eed2d8574cfbfd0c338672d689 SHA1 ade86a75bffa7538ab2bcbb27a81eb5f05ebae76 SHA256 f087a57d86eb9406efdf92b938657dd8c298e4464d67b9221f77978f86327b4d MD5 d5652ed0f40ac8d0ec5917876c28a1b4 jrockit-jdk-bin-1.4.2.13.ebuild 2410 RMD160 8a512ce976e866eed2d8574cfbfd0c338672d689 jrockit-jdk-bin-1.4.2.13.ebuild 2410 SHA256 f087a57d86eb9406efdf92b938657dd8c298e4464d67b9221f77978f86327b4d jrockit-jdk-bin-1.4.2.13.ebuild 2410 +EBUILD jrockit-jdk-bin-1.4.2.14.ebuild 2413 RMD160 9fd41c385512c93621a6fa93585346069eb2bbd5 SHA1 d2688b5d6b76ad2ffd114fa0b9087f39ec8fd96c SHA256 27283f7790f169c5f12cdf7ee4b3e83c1d930432c4d050af9323985c588d5366 +MD5 b8242c1fbc9e39c0fbc8178c1a029f05 jrockit-jdk-bin-1.4.2.14.ebuild 2413 +RMD160 9fd41c385512c93621a6fa93585346069eb2bbd5 jrockit-jdk-bin-1.4.2.14.ebuild 2413 +SHA256 27283f7790f169c5f12cdf7ee4b3e83c1d930432c4d050af9323985c588d5366 jrockit-jdk-bin-1.4.2.14.ebuild 2413 EBUILD jrockit-jdk-bin-1.5.0.06-r1.ebuild 2216 RMD160 422246b8dd8f369a5a451531e44f21abe64a396d SHA1 b0fa67de9dbbee7e88d621e683cc14a77b4d8ddd SHA256 ffe91477f80b1a10c4f649f9d0ccb9c5e43c7eea0051171bef970a9b7e3e6ad1 MD5 e4552b970af9a70c6fa856baa1b84f50 jrockit-jdk-bin-1.5.0.06-r1.ebuild 2216 RMD160 422246b8dd8f369a5a451531e44f21abe64a396d jrockit-jdk-bin-1.5.0.06-r1.ebuild 2216 @@ -37,10 +43,14 @@ EBUILD jrockit-jdk-bin-1.5.0.10.ebuild 3544 RMD160 214ac5fa2c1604f115e5c27fe9587 MD5 94f5b599f5099fb5b2aba9256efd185e jrockit-jdk-bin-1.5.0.10.ebuild 3544 RMD160 214ac5fa2c1604f115e5c27fe9587808f2809c6e jrockit-jdk-bin-1.5.0.10.ebuild 3544 SHA256 85a180b8fd4d7698217591ae623569ffc4a60f2e384790b42a2e68ad703297ec jrockit-jdk-bin-1.5.0.10.ebuild 3544 -MISC ChangeLog 7789 RMD160 1c30de7c869ed33481bf1a02760e8f2666fb2751 SHA1 fb17dbb68895acc0eb9562b2212aedec7abdc9c9 SHA256 faa613330f09eb10d0e104fd8397a5f33dc68b4fbbf1b9e616bc796dca0d93fe -MD5 81d8d7de427108cfcc128a7705f93593 ChangeLog 7789 -RMD160 1c30de7c869ed33481bf1a02760e8f2666fb2751 ChangeLog 7789 -SHA256 faa613330f09eb10d0e104fd8397a5f33dc68b4fbbf1b9e616bc796dca0d93fe ChangeLog 7789 +EBUILD jrockit-jdk-bin-1.5.0.11.ebuild 3529 RMD160 442df6bb1674bdc2b02baadd184fd47aa03fc83c SHA1 f86bae76715608199f97c445d93c1e2caaf78b0b SHA256 6ad9b30b69cdd6809c2526dee04f4618cf11f6b74ca5d4b694dcdd312e7cbb0f +MD5 d8ce8044e1a23abd51451e4172e33e0d jrockit-jdk-bin-1.5.0.11.ebuild 3529 +RMD160 442df6bb1674bdc2b02baadd184fd47aa03fc83c jrockit-jdk-bin-1.5.0.11.ebuild 3529 +SHA256 6ad9b30b69cdd6809c2526dee04f4618cf11f6b74ca5d4b694dcdd312e7cbb0f jrockit-jdk-bin-1.5.0.11.ebuild 3529 +MISC ChangeLog 8054 RMD160 583872c5cbd58e9a1cc656d495637c88baa82bb2 SHA1 6b3f393991c89c75f32751a4f22c6a17a5ebab7e SHA256 19a36b39ff443cef622acd6048c2d3cd233ffe3d235fd2441c55546577254eb9 +MD5 f680bb2e613116a790a532c4b48eab67 ChangeLog 8054 +RMD160 583872c5cbd58e9a1cc656d495637c88baa82bb2 ChangeLog 8054 +SHA256 19a36b39ff443cef622acd6048c2d3cd233ffe3d235fd2441c55546577254eb9 ChangeLog 8054 MISC metadata.xml 554 RMD160 0ac4d0bc8bab37fde093b976e361be52d32e8c05 SHA1 a2e1bcf7bb8bc7261d8c3a11f13de05c16663eb3 SHA256 df88a1321bc4fd8d9b8d36696fb7147d3cc6bbb2c35a046be8a9eb89aaffb0c3 MD5 44f00b9f278d0941a4820ce56f0fefe1 metadata.xml 554 RMD160 0ac4d0bc8bab37fde093b976e361be52d32e8c05 metadata.xml 554 @@ -48,16 +58,15 @@ SHA256 df88a1321bc4fd8d9b8d36696fb7147d3cc6bbb2c35a046be8a9eb89aaffb0c3 metadata MD5 6b9722f70c6b46fdd6c51a7e99a7de66 files/digest-jrockit-jdk-bin-1.4.2.13 623 RMD160 de3c5018c7a172ad1625227d9244b2efea6378b0 files/digest-jrockit-jdk-bin-1.4.2.13 623 SHA256 4973c3c78db014682de740fb1c741f65a60943662b734f00583d4e6ac427d3ed files/digest-jrockit-jdk-bin-1.4.2.13 623 +MD5 9d2c61614f6886f71de23da5f3e07e91 files/digest-jrockit-jdk-bin-1.4.2.14 623 +RMD160 659cd08b7ea5e73c0b4a9b42fda4f7f34b5bb8e7 files/digest-jrockit-jdk-bin-1.4.2.14 623 +SHA256 ed97cdae34a9c3a47e0a13fa7db2533c3c1a502d8f47efb30f3ea2cf8820f0a7 files/digest-jrockit-jdk-bin-1.4.2.14 623 MD5 aea9e627aeff249176ae9758d484aba1 files/digest-jrockit-jdk-bin-1.5.0.06-r1 933 RMD160 bd81bdbfcede2a85612fa596e6ac73117d4f875d files/digest-jrockit-jdk-bin-1.5.0.06-r1 933 SHA256 18f8546024c6329192e9f3cbd588833359393a4e8692d55be8659d9e874a65d8 files/digest-jrockit-jdk-bin-1.5.0.06-r1 933 MD5 9c3720c3aebac6e42d8085303a08488e files/digest-jrockit-jdk-bin-1.5.0.10 939 RMD160 d8032019a5f5492cf614a39fbe319e1ecb2c8a12 files/digest-jrockit-jdk-bin-1.5.0.10 939 SHA256 fdb4bc626d4bb032ee70a49dbd73202cf28743f66cc2762c96029210a15d1d5c files/digest-jrockit-jdk-bin-1.5.0.10 939 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) - -iD8DBQFGiQzappoStNGKGywRAnnwAJ97OdEqaiXeDbQUiNp3i8QErPn5DACfUnH6 -5o5BfjevDltPAu/AfmVmymI= -=OziA ------END PGP SIGNATURE----- +MD5 63e5e37210a19ee7739560421f5f9f75 files/digest-jrockit-jdk-bin-1.5.0.11 933 +RMD160 629b195dca825435c2e2dced67613751556d1c8c files/digest-jrockit-jdk-bin-1.5.0.11 933 +SHA256 04c0916fd51556c22880e79408731a560faaea8a66e22d930a1663874ca8fec4 files/digest-jrockit-jdk-bin-1.5.0.11 933 diff --git a/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.4.2.14 b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.4.2.14 new file mode 100644 index 000000000000..bfced9ca237e --- /dev/null +++ b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.4.2.14 @@ -0,0 +1,6 @@ +MD5 db1eb6341703295cb3e2dc29db9a28b6 jrockit-R27.3.1-jdk1.4.2_14-linux-ia32.bin 77007816 +RMD160 f1a94faa21f2a44493627f08edd230a652073050 jrockit-R27.3.1-jdk1.4.2_14-linux-ia32.bin 77007816 +SHA256 f4378db944a4355ad44d9c3e5b8a803922b5e30e3168613bcc61c5d746d6d8b8 jrockit-R27.3.1-jdk1.4.2_14-linux-ia32.bin 77007816 +MD5 5765f23fcee655ae381844f8fae3d89e jrockit-R27.3.1-jdk1.4.2_14-linux-ipf.bin 47884542 +RMD160 858de4a54423288554e34bf23bfcca996fc6790c jrockit-R27.3.1-jdk1.4.2_14-linux-ipf.bin 47884542 +SHA256 8c6b7d4a56b007e0005d024d63544b31f6549f9da9cac45372e1e8cff1aa29ee jrockit-R27.3.1-jdk1.4.2_14-linux-ipf.bin 47884542 diff --git a/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.5.0.11 b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.5.0.11 new file mode 100644 index 000000000000..3bd6ffae10e6 --- /dev/null +++ b/dev-java/jrockit-jdk-bin/files/digest-jrockit-jdk-bin-1.5.0.11 @@ -0,0 +1,9 @@ +MD5 b71cd746c43302f9cdeaaa4d6daa2853 jrockit-R27.3.1-jdk1.5.0_11-linux-ia32.bin 93471413 +RMD160 68a90425d49e6b057e74d7fd59a4d530620d6f9b jrockit-R27.3.1-jdk1.5.0_11-linux-ia32.bin 93471413 +SHA256 ec0703c290a1c10022acea35390cf872d587104cca16940a7e93faa2537c90c2 jrockit-R27.3.1-jdk1.5.0_11-linux-ia32.bin 93471413 +MD5 4814e7907f5f568f98d54ea488b5d3e0 jrockit-R27.3.1-jdk1.5.0_11-linux-ipf.bin 63462858 +RMD160 b317e67bc9a8a5fddae86dd60e7f71f5aebd7731 jrockit-R27.3.1-jdk1.5.0_11-linux-ipf.bin 63462858 +SHA256 4711624662cae7d0645f0439696ef4b639a55671f2b563d940ea2b6afde34dc8 jrockit-R27.3.1-jdk1.5.0_11-linux-ipf.bin 63462858 +MD5 4750a07cbbdbe66d7d1ba8c436c912e2 jrockit-R27.3.1-jdk1.5.0_11-linux-x64.bin 94096622 +RMD160 9c93723048d318b15dcc99150cca0788c081e700 jrockit-R27.3.1-jdk1.5.0_11-linux-x64.bin 94096622 +SHA256 386fced62d44a5eb14391af2c4f4d89026ab65d43253ce9609ead02c688e0b3b jrockit-R27.3.1-jdk1.5.0_11-linux-x64.bin 94096622 diff --git a/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.14.ebuild b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.14.ebuild new file mode 100644 index 000000000000..d85dfce06a9d --- /dev/null +++ b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.14.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.14.ebuild,v 1.1 2007/07/22 22:44:36 caster Exp $ + +# WARNING: This is the default VM on ia64, so treat this ebuild +# with proper care. + +# The stripping of symbols seems to mess up the BEA code. Not sure why. +RESTRICT="strip fetch" +JAVA_SUPPORTS_GENERATION_1="true" +inherit java-vm-2 versionator + +PV_MAJOR="$(get_version_component_range 1-3 ${PV})" +PV_EXTRA="$(get_version_component_range 4 ${PV})" +UPSTREAM_RELEASE="27.3.1" + +SRC_URI_BASE="jrockit-R${UPSTREAM_RELEASE}-jdk${PV_MAJOR}_${PV_EXTRA}-linux-" +SRC_URI="ia64? ( ${SRC_URI_BASE}ipf.bin ) + x86? ( ${SRC_URI_BASE}ia32.bin )" +DESCRIPTION="BEA WebLogic's J2SE Development Kit, R${UPSTREAM_RELEASE}" + +HOMEPAGE="http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp" +LICENSE="jrockit" +SLOT="1.4" +KEYWORDS="-* ~ia64 ~x86" +DEPEND="app-arch/unzip" +RDEPEND="doc? ( =dev-java/java-sdk-docs-1.4.2* )" +IUSE="doc examples" + +QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/jrockit/libjvm.so +opt/${P}/jre/lib/i386/libjmapi.so +opt/${P}/jre/lib/i386/libawt.so" + +QA_EXECSTACK_x86="opt/${P}/bin/* +opt/${P}/jre/bin/* +opt/${P}/jre/lib/i386/jrockit/libjvm.so +opt/${P}/jre/lib/i386/libnet.so" + +pkg_nofetch() { + einfo "Please download ${A} from:" + einfo ${HOMEPAGE} + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + # unpack cannot determine file format + # unzip to get more zips + unzip ${DISTDIR}/${A} || die + + mkdir ${S} || die + + # this is ugly but don't see any better way + # empty jre dir is part of the zip + unzip *sdk_no_jre.zip -d ${S} || die + # remove so it doesn't affect next unzip + rm *sdk_no_jre.zip || die + # unpack the jre into its dir + unzip *jre.zip -d ${S}/jre || die +} + +src_install() { + local dirs="bin include jre lib missioncontrol src.zip" + + insinto "/opt/${P}" + for i in ${dirs} ; do + doins -r $i || die + done + + if use examples; then + doins -r demo || die + fi + + newdoc README.txt README || die + dodoc LICENSE || die + + chmod +x ${D}/opt/${P}/bin/* ${D}/opt/${P}/jre/bin/* || die "Could not chmod" + set_java_env +} + +pkg_postinst () { + # Set as default VM if none exists + java-vm-2_pkg_postinst + elog "Please review the license agreement in /usr/share/doc/${PF}/LICENSE" + elog "If you do not agree to the terms of this license, please uninstall this package" +} diff --git a/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.11.ebuild b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.11.ebuild new file mode 100644 index 000000000000..a57016fbe2f5 --- /dev/null +++ b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.11.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.11.ebuild,v 1.1 2007/07/22 22:44:36 caster Exp $ + +# WARNING: This is the default VM on ia64, so treat this ebuild +# with proper care. + +# The stripping of symbols seems to mess up the BEA code. Not sure why. +RESTRICT="strip fetch" + +inherit java-vm-2 versionator + +PV_MAJOR="$(get_version_component_range 1-3 ${PV})" +PV_EXTRA="$(get_version_component_range 4 ${PV})" +UPSTREAM_RELEASE="27.3.1" + +SRC_URI_BASE="jrockit-R${UPSTREAM_RELEASE}-jdk${PV_MAJOR}_${PV_EXTRA}-linux-" +SRC_URI="x86? ( ${SRC_URI_BASE}ia32.bin ) + amd64? ( ${SRC_URI_BASE}x64.bin ) + ia64? ( ${SRC_URI_BASE}ipf.bin )" +DESCRIPTION="BEA WebLogic's J2SE Development Kit, R${UPSTREAM_RELEASE}" + +HOMEPAGE="http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp" + +LICENSE="jrockit" +SLOT="1.5" +KEYWORDS="-* ~amd64 ~ia64 ~x86" +IUSE="doc examples" + +DEPEND="app-arch/unzip" +RDEPEND="doc? ( =dev-java/java-sdk-docs-1.5.0* )" +JAVA_PROVIDE="jdbc-stdext jdbc-rowset" + +QA_TEXTRELS_amd64="opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so + opt/${P}/mercuryprofiler/lib/x86-linux/libprobejni.so" + +# not working for some reason... +# because it probably needs WX_LOAD and not EXECSTACK +QA_EXECSTACK_amd64="opt/${P}/mercuryprofiler/bin/sparc-sunos/systemmetrics + opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so" + +QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/jrockit/libjvm.so +opt/${P}/jre/lib/i386/motif21/libmawt.so +opt/${P}/jre/lib/i386/libjmapi.so +opt/${P}/mercuryprofiler/lib/x86-linux/libjvmti.so +opt/${P}/mercuryprofiler/lib/x86-linux/libprobejni.so +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libprobejni.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so" + +QA_EXECSTACK_x86="opt/${P}/bin/* +opt/${P}/jre/bin/* +opt/${P}/jre/lib/i386/jrockit/libjvm.so +opt/${P}/jre/lib/i386/libnet.so" + +QA_WX_LOAD_x86="opt/${P}/mercuryprofiler/bin/sparc-sunos/systemmetrics +opt/${P}/mercuryprofiler/bin/sparc-sunos/reference_sort +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libprobejni.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so" + +pkg_nofetch() { + einfo "Please download ${A} from:" + einfo ${HOMEPAGE} + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + # unpack cannot determine file format + # unzip to get more zips + unzip ${DISTDIR}/${A} || die + + mkdir ${S} || die + + # this is ugly but don't see any better way + # empty jre dir is part of the zip + unzip *sdk_no_jre.zip -d ${S} || die + # remove so it doesn't affect next unzip + rm *sdk_no_jre.zip || die + # unpack the jre into its dir + unzip *jre.zip -d ${S}/jre || die +} + +src_install() { + local dirs="bin include jre lib missioncontrol src.zip" + + insinto "/opt/${P}" + for i in ${dirs} ; do + doins -r $i || die + done + + if use examples; then + doins -r demo || die + doins -r sample || die + fi + + newdoc README.txt README || die + dodoc LICENSE || die + + chmod +x ${D}/opt/${P}/bin/* ${D}/opt/${P}/jre/bin/* || die "Could not chmod" + set_java_env +} + +pkg_postinst () { + # Set as default VM if none exists + java-vm-2_pkg_postinst + elog "Please review the license agreement in /usr/share/doc/${PF}/LICENSE" + elog "If you do not agree to the terms of this license, please uninstall this package" +} |