diff options
Diffstat (limited to 'dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.06-r1.ebuild')
-rw-r--r-- | dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.06-r1.ebuild | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.06-r1.ebuild b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.06-r1.ebuild new file mode 100644 index 000000000000..04853b92b114 --- /dev/null +++ b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.06-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2006 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.06-r1.ebuild,v 1.1 2006/07/13 17:12:30 agriffis 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="nostrip fetch" + +inherit java-vm-2 versionator + +PV_MAJOR="$(get_version_component_range 1-3 ${PV})" +PV_EXTRA="$(get_version_component_range 4 ${PV})" +HOMEPAGE_PV="$(delete_all_version_separators ${PV_MAJOR})_${PV_EXTRA}" +UPSTREAM_RELEASE="26.4.0" + +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" +# ia64 not provided yet +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="" + +DEPEND=">=app-arch/unzip-5.50-r1" +JAVA_PROVIDE="jdbc-stdext jdbc-rowset" + +JAVA_VM_NO_GENERATION1=true + +pkg_nofetch() { + einfo "Please download ${A} from:" + einfo ${HOMEPAGE} + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + mkdir ${S} + cd ${S} + unzip ${DISTDIR}/${A} || die "Failed to unpack ${A}" + + for z in *.zip ; do + unzip $z || die + rm $z + done +} + +src_install() { + #no man in this version + local dirs="bin demo console include jre lib memleak mercuryprofiler sample src.zip" + dodir /opt/${P} + + for i in ${dirs} ; do + cp -R $i ${D}/opt/${P}/ || die + done + + newdoc README.TXT README + newdoc LICENSE LICENSE + + set_java_env +} + +pkg_postinst () { + # Set as default VM if none exists + java-vm-2_pkg_postinst + einfo "Please review the license agreement in /usr/share/doc/${PF}/LICENSE" + einfo "If you do not agree to the terms of this license, please uninstall this package" +} |