diff options
author | Todd Berman <tberman@gentoo.org> | 2003-05-23 17:27:55 +0000 |
---|---|---|
committer | Todd Berman <tberman@gentoo.org> | 2003-05-23 17:27:55 +0000 |
commit | 097097a0b62b959825e5b52b9196e3c972801a4b (patch) | |
tree | e2d12cbd5ee8f5eb875df05754e84fbe0566978d /dev-java/jrockit | |
parent | Initial Import. (diff) | |
download | gentoo-2-097097a0b62b959825e5b52b9196e3c972801a4b.tar.gz gentoo-2-097097a0b62b959825e5b52b9196e3c972801a4b.tar.bz2 gentoo-2-097097a0b62b959825e5b52b9196e3c972801a4b.zip |
Initial Import.
Diffstat (limited to 'dev-java/jrockit')
-rw-r--r-- | dev-java/jrockit/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jrockit/Manifest | 4 | ||||
-rw-r--r-- | dev-java/jrockit/files/digest-jrockit-8.1 | 0 | ||||
-rw-r--r-- | dev-java/jrockit/files/jrockit-8.1 | 10 | ||||
-rw-r--r-- | dev-java/jrockit/jrockit-8.1.ebuild | 58 |
5 files changed, 80 insertions, 2 deletions
diff --git a/dev-java/jrockit/ChangeLog b/dev-java/jrockit/ChangeLog new file mode 100644 index 000000000000..298f23e82ac8 --- /dev/null +++ b/dev-java/jrockit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jrockit +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit/ChangeLog,v 1.1 2003/05/23 17:27:50 tberman Exp $ + +*jrockit-8.1 (23 May 2003) + + 23 May 2003; Todd Berman <tberman@gentoo.org> jrockit-8.1.ebuild, + files/jrockit-8.1: + Initial Import, based on ebuild submitted by Matthew Humphrey <matth@pobox.com> + diff --git a/dev-java/jrockit/Manifest b/dev-java/jrockit/Manifest index 1a05767dec25..eceb8d85a9ef 100644 --- a/dev-java/jrockit/Manifest +++ b/dev-java/jrockit/Manifest @@ -1,4 +1,4 @@ -MD5 71da170b9087b70cc82dc23e9e1ebf3f jrockit-8.1.ebuild 1538 -MD5 67c59f964c66386567f01204ed5c7306 ChangeLog 325 +MD5 4408b6b09d8c537637eb21c48f6e293a jrockit-8.1.ebuild 1637 +MD5 ab134c2afa2a7155653f167ad11a22b2 ChangeLog 415 MD5 d81390f52fe838b7c25318c862cfe59e files/jrockit-8.1 278 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jrockit-8.1 0 diff --git a/dev-java/jrockit/files/digest-jrockit-8.1 b/dev-java/jrockit/files/digest-jrockit-8.1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/jrockit/files/digest-jrockit-8.1 diff --git a/dev-java/jrockit/files/jrockit-8.1 b/dev-java/jrockit/files/jrockit-8.1 new file mode 100644 index 000000000000..2d0536ff0ad7 --- /dev/null +++ b/dev-java/jrockit/files/jrockit-8.1 @@ -0,0 +1,10 @@ + +VERSION="WebLogic JRockit @PV@" +JAVA_HOME=/opt/@P@ +CLASSPATH=/opt/@P@/jre/lib/rt.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.ebuild b/dev-java/jrockit/jrockit-8.1.ebuild new file mode 100644 index 000000000000..f20cc679605d --- /dev/null +++ b/dev-java/jrockit/jrockit-8.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2003 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.ebuild,v 1.1 2003/05/23 17:27:50 tberman Exp $ + +IUSE="" + +# The stripping of symbols seems to mess up the BEA code. Not sure why. +RESTRICT="nostrip" + +inherit java + +At="jrockit-8.1-j2se1.4.1-linux32.bin" +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" +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.5" + +PROVIDE="virtual/jre-1.4 + virtual/jdk-1.4 + virtual/java-scheme-2" + +src_unpack() { + if [ ! -f ${DISTDIR}/${At} ] ; then + eerror "Please download ${At} from ${HOMEPAGE} (select the \"Linux (32 bit)\" package format of \"WebLogic JRockit 8.1\") 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" +} |