diff options
author | Lim Swee Tat <st_lim@gentoo.org> | 2004-03-18 14:49:38 +0000 |
---|---|---|
committer | Lim Swee Tat <st_lim@gentoo.org> | 2004-03-18 14:49:38 +0000 |
commit | 742ffe285a7e0bfc9869d69cfa6581912849171c (patch) | |
tree | d5d2ed64132f575dc08a7eb9448b48d516265d5c /dev-java | |
parent | stable on sparc (Manifest recommit) (diff) | |
download | gentoo-2-742ffe285a7e0bfc9869d69cfa6581912849171c.tar.gz gentoo-2-742ffe285a7e0bfc9869d69cfa6581912849171c.tar.bz2 gentoo-2-742ffe285a7e0bfc9869d69cfa6581912849171c.zip |
This is committed because Weblogic distributes SP2 from their website now.
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jrockit/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/jrockit/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jrockit/files/digest-jrockit-8.1_p2 | 0 | ||||
-rw-r--r-- | dev-java/jrockit/files/jrockit-8.1_p2 | 10 | ||||
-rw-r--r-- | dev-java/jrockit/jrockit-8.1_p2.ebuild | 69 |
5 files changed, 85 insertions, 1 deletions
diff --git a/dev-java/jrockit/ChangeLog b/dev-java/jrockit/ChangeLog index 4adda0951956..be3b3d15ddf7 100644 --- a/dev-java/jrockit/ChangeLog +++ b/dev-java/jrockit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/jrockit # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit/ChangeLog,v 1.3 2004/03/18 05:18:11 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit/ChangeLog,v 1.4 2004/03/18 14:49:38 st_lim Exp $ + + 18 Mar 2004; Lim Swee Tat,,+65-9763-4381,+65-6314-3146 <st_lim@gentoo.org> : + Updated package. BEA distributes SP2 from their website. 18 Mar 2004; Chris Aniszczyk <zx@gentoo.org> jrockit-8.1.ebuild: Fixing digest issues... *yawn* diff --git a/dev-java/jrockit/Manifest b/dev-java/jrockit/Manifest index 95faf9cb0f19..d453f18b8e1a 100644 --- a/dev-java/jrockit/Manifest +++ b/dev-java/jrockit/Manifest @@ -1,5 +1,7 @@ MD5 64cf0c52d3fa289b9c748d73e6d11bf1 jrockit-8.1.ebuild 1729 MD5 f2ea4f6de824f7e0778b2994b2ec290b ChangeLog 612 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 0400f377d4f34d3dc81ce48f61300ed5 jrockit-8.1_rc2.ebuild 1759 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jrockit-8.1 0 MD5 526353109877a591e6417c72c2aa6392 files/jrockit-8.1 293 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jrockit-8.1_rc2 0 diff --git a/dev-java/jrockit/files/digest-jrockit-8.1_p2 b/dev-java/jrockit/files/digest-jrockit-8.1_p2 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/jrockit/files/digest-jrockit-8.1_p2 diff --git a/dev-java/jrockit/files/jrockit-8.1_p2 b/dev-java/jrockit/files/jrockit-8.1_p2 new file mode 100644 index 000000000000..33bba1f06ae7 --- /dev/null +++ b/dev-java/jrockit/files/jrockit-8.1_p2 @@ -0,0 +1,10 @@ + +VERSION="WebLogic JRockit @PV@" +JAVA_HOME=/opt/@P@ +CLASSPATH=.:/opt/@P@/jre/lib:/opt/@P@/lib/tools.jar +JDK_HOME=/opt/@P@ +JAVAC=${JAVA_HOME}/bin/javac +ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" +ADDLDPATH="/opt/@P@/jre/lib" + +ENV_VARS="JAVA_HOME CLASSPATH JDK_HOME JAVAC ADDPATH ADDLDPATH" diff --git a/dev-java/jrockit/jrockit-8.1_p2.ebuild b/dev-java/jrockit/jrockit-8.1_p2.ebuild new file mode 100644 index 000000000000..02954553bfbb --- /dev/null +++ b/dev-java/jrockit/jrockit-8.1_p2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit/jrockit-8.1_p2.ebuild,v 1.1 2004/03/18 14:49:38 st_lim Exp $ + +IUSE="" + +# The stripping of symbols seems to mess up the BEA code. Not sure why. +RESTRICT="nostrip" + +inherit java + +if [[ $ARCH == ia64 ]]; then + At="jrockit-8.1sp2-j2se1.4.1-linux64.bin" +else + At="jrockit-8.1sp2-j2se1.4.1-linux32.bin" +fi + +S="${WORKDIR}" +SRC_URI="" +DESCRIPTION="BEA WebLogic's J2SE Development Kit, version 8.1" +HOMEPAGE="http://commerce.bea.com/downloads/weblogic_jrockit.jsp" +LICENSE="jrockit" +SLOT="1.4" +KEYWORDS="x86 ia64" +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.5 + >=app-arch/unzip-5.50-r1" + +PROVIDE="virtual/jre-1.4 + virtual/jdk-1.4 + virtual/java-scheme-2" + +src_unpack() { + local b=32 + [[ $ARCH == ia64 ]] && b=64 + + if [ ! -f ${DISTDIR}/${At} ] ; then + eerror "Please download ${At} from ${HOMEPAGE}" + eerror "(select the \"Linux ($b bit)\" package format of \"WebLogic JRockit 8.1\")" + eerror "and move it to ${DISTDIR}." + eerror "NOTE: This download REQUIRES a fairly extensive registration process." + die "Download ${At} and put it into ${DISTDIR}." + fi + unzip ${DISTDIR}/${At} *.zip + for z in *.zip ; do + unzip $z + rm $z + done +} + +src_install () { + local dirs="bin console include jre lib" + dodir /opt/${P} + + for i in $dirs ; do + cp -dpR $i ${D}/opt/${P}/ + done + + newdoc README.TXT README + newdoc "License Agreement.txt" LICENSE + + set_java_env ${FILESDIR}/${VMHANDLE} +} + +pkg_postinst () { + # Set as default VM if none exists + einfo "Please review the license agreement in /usr/doc/${P}/LICENSE" + einfo "If you do not agree to the terms of this license, please uninstall this package" +} |