diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-02-17 22:03:58 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-02-17 22:03:58 +0000 |
commit | 5e4ef3de9bee0574e672cb463d95a66fc53ff294 (patch) | |
tree | 0ee6e7c6efeeeb036113ed88cd51b130c033ce2b /dev-java | |
parent | MzScheme 103_pre1 (diff) | |
download | historical-5e4ef3de9bee0574e672cb463d95a66fc53ff294.tar.gz historical-5e4ef3de9bee0574e672cb463d95a66fc53ff294.tar.bz2 historical-5e4ef3de9bee0574e672cb463d95a66fc53ff294.zip |
JDK 1.4.0
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sun-jdk/ChangeLog | 14 | ||||
-rw-r--r-- | dev-java/sun-jdk/files/digest-sun-jdk-1.4.0 | 0 | ||||
-rw-r--r-- | dev-java/sun-jdk/sun-jdk-1.4.0.ebuild | 68 |
3 files changed, 80 insertions, 2 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog index 38a16b9bd81f..841b7626ae12 100644 --- a/dev-java/sun-jdk/ChangeLog +++ b/dev-java/sun-jdk/ChangeLog @@ -1,8 +1,17 @@ # 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.3 2002/02/10 22:32:00 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.4 2002/02/17 22:03:58 karltk Exp $ -*sun-jdk-1.4.0_pre1 (1 Feb 2002) +*sun-jdk-1.4.0 (17 Feb 2002) + + 17 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ChangeLog digest/sun-jdk/sun-jdk-1.4 files/digest-sun-jdk-1.4 : + + Sun's JDK version 1.4, final release. Still with mmap and faster VM. + + Ebuild submitted by Daniel Mettler <mettlerd@icu.unizh.ch> + + +*sun-jdk-1.4.0_pre1 (10 Feb 2002) 10 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ChangeLog digest/sun-jdk/sun-jdk-1.4_pre1 files/digest-sun-jdk-1.4_pre1 : @@ -10,6 +19,7 @@ Ebuild submitted by Luke Holden <alterself@prodigy.net> + *sun-jdk-1.3.1-r1 (1 Feb 2002) 10 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> : diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.4.0 b/dev-java/sun-jdk/files/digest-sun-jdk-1.4.0 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-java/sun-jdk/files/digest-sun-jdk-1.4.0 diff --git a/dev-java/sun-jdk/sun-jdk-1.4.0.ebuild b/dev-java/sun-jdk/sun-jdk-1.4.0.ebuild new file mode 100644 index 000000000000..08030d33e7b5 --- /dev/null +++ b/dev-java/sun-jdk/sun-jdk-1.4.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Tools Team <tools@gentoo.org> +# Author: Daniel Mettler <mettlerd@icu.unizh.ch> +# /space/gentoo/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4_pre1.ebuild,v 1.1 2002/02/10 22:30:10 karltk Exp + +At="j2sdk-1_4_0-linux-i386.bin" +S=${WORKDIR}/j2sdk1.4.0 +SRC_URI="" +DESCRIPTION="Sun's J2SE Development Kit, version 1.4.0" +HOMEPAGE="http://java.sun.com/j2se/1.4/download.html" + +DEPEND="virtual/glibc + >=dev-java/java-config-0.1.3" +RDEPEND="$DEPEND" + +PROVIDE="virtual/jre-1.4 + virtual/jdk-1.4" + +src_unpack() { + if [ ! -f ${DISTDIR}/${At} ] ; then + die "Please download ${At} from ${HOMEPAGE} (select the \"Linux GNUZIP Tar shell script\" package format of the SDK) and move it to ${DISTDIR}" + fi + tail +295 ${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_oji140.so /usr/lib/mozilla/plugins/ + fi + + dodir /etc/env.d + echo "PATH=/opt/${P}/bin" > ${D}/etc/env.d/21jdk + echo "ROOTPATH=/opt/${P}/bin" >> ${D}/etc/env.d/21jdk + echo "JDK_HOME=/opt/${P}" >> ${D}/etc/env.d/21jdk + echo "JAVA_HOME=/opt/${P}" >> ${D}/etc/env.d/21jdk + echo "CLASSPATH=/opt/${P}/jre/lib/rt.jar" >> ${D}/etc/env.d/21jdk +} + +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_oji140.so /usr/lib/mozilla/plugins/" + einfo "(Make certain the directory /usr/lib/mozilla/plugins exists first)" + fi +} |