diff options
author | Maik Schreiber <blizzy@gentoo.org> | 2002-10-17 14:37:08 +0000 |
---|---|---|
committer | Maik Schreiber <blizzy@gentoo.org> | 2002-10-17 14:37:08 +0000 |
commit | 21010c9330e40d4f5550e22b11b659497610c858 (patch) | |
tree | 15a06a7e4e05319408ef0337d9e65f1211c372ca /dev-java | |
parent | removed sourcing of old inherit.eclass (diff) | |
download | historical-21010c9330e40d4f5550e22b11b659497610c858.tar.gz historical-21010c9330e40d4f5550e22b11b659497610c858.tar.bz2 historical-21010c9330e40d4f5550e22b11b659497610c858.zip |
new version
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sun-jdk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/sun-jdk/files/digest-sun-jdk-1.4.1.01 | 0 | ||||
-rw-r--r-- | dev-java/sun-jdk/files/sun-jdk-1.4.1.01 | 15 | ||||
-rw-r--r-- | dev-java/sun-jdk/sun-jdk-1.4.1.01.ebuild | 72 |
4 files changed, 93 insertions, 1 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog index 02ca4eccc528..38f8c175b4c4 100644 --- a/dev-java/sun-jdk/ChangeLog +++ b/dev-java/sun-jdk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/sun-jdk # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.26 2002/10/17 14:35:42 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.27 2002/10/17 14:37:08 blizzy Exp $ + +*sun-jdk-1.4.1.01 (17 Oct 2002) + + 17 Oct 2002; Maik Schreiber <blizzy@gentoo.org> sun-jdk-1.4.1.01.ebuild: + New version. 17 Oct 2002; Maik Schreiber <blizzy@gentoo.org> sun-jdk-1.3.1.04.ebuild, sun-jdk-1.3.1.05.ebuild, sun-jdk-1.4.0-r5.ebuild, sun-jdk-1.4.0-r6.ebuild, diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.4.1.01 b/dev-java/sun-jdk/files/digest-sun-jdk-1.4.1.01 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/sun-jdk/files/digest-sun-jdk-1.4.1.01 diff --git a/dev-java/sun-jdk/files/sun-jdk-1.4.1.01 b/dev-java/sun-jdk/files/sun-jdk-1.4.1.01 new file mode 100644 index 000000000000..1421ce3ebf8c --- /dev/null +++ b/dev-java/sun-jdk/files/sun-jdk-1.4.1.01 @@ -0,0 +1,15 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Karl Trygve Kalleberg +# Maintainer: Tools Team <tools@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.4.1.01,v 1.1 2002/10/17 14:37:08 blizzy Exp $ + +VERSION="Sun JDK @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/sun-jdk/sun-jdk-1.4.1.01.ebuild b/dev-java/sun-jdk/sun-jdk-1.4.1.01.ebuild new file mode 100644 index 000000000000..f188fba76ad4 --- /dev/null +++ b/dev-java/sun-jdk/sun-jdk-1.4.1.01.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.1.01.ebuild,v 1.1 2002/10/17 14:37:08 blizzy Exp $ + +IUSE="doc mozilla" + +inherit java + +At="j2sdk-1_4_1_01-linux-i586.bin" +S=${WORKDIR}/j2sdk1.4.1_01 +SRC_URI="" +DESCRIPTION="Sun's J2SE Development Kit, version 1.4.1_01" +HOMEPAGE="http://java.sun.com/j2se/1.4.1/download.html" +LICENSE="sun-bcla" +SLOT="1.4" +KEYWORDS="~x86 -ppc -sparc -sparc64 -alpha" +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.5 + doc? ( =dev-java/java-sdk-docs-1.4.0* )" +RDEPEND="$DEPEND" + +PROVIDE="virtual/jre-1.4 + virtual/jdk-1.4 + virtual/java-scheme-2" + +src_unpack() { + if [ ! -f ${DISTDIR}/${At} ] ; then + die "Please download ${At} from ${HOMEPAGE} (select the \"Linux self-extracting file\" package format of the SDK) and move it to ${DISTDIR}" + fi + tail +436 ${DISTDIR}/${At} > install.sfx + chmod +x install.sfx + ./install.sfx || die + rm install.sfx +} + +src_install () { + local dirs="bin include jre lib" + dodir /opt/${P} + + + for i in $dirs ; do + cp -a $i ${D}/opt/${P}/ + done + + dodoc COPYRIGHT README LICENSE + dohtml README.html + + doman man/man1/*.1 + + dodir /opt/${P}/share/ + cp -a demo src.zip ${D}/opt/${P}/share/ + + if [ "`use mozilla`" ] ; then + dodir /usr/lib/mozilla/plugins + dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/ + fi + + set_java_env ${FILESDIR}/${VMHANDLE} +} + +pkg_postinst () { + # Set as default VM if none exists + java_pkg_postinst + + if [ "`use mozilla`" ] ; then + einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/libjavaplugin_oji140.so" + else + einfo "To install the Java plugin for Mozilla manually, do:" + einfo "ln -s /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/" + einfo "(Make certain the directory /usr/lib/mozilla/plugins exists first)" + fi +} |