summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-08-08 13:10:52 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-08-08 13:10:52 +0000
commitd905332c007122fa012b42148f17d1a2e6631626 (patch)
treea76d9a04bbf3ae2c180ca80ade2209b155757bb7 /dev-java
parentremoved emake -- changed to make (diff)
downloadgentoo-2-d905332c007122fa012b42148f17d1a2e6631626.tar.gz
gentoo-2-d905332c007122fa012b42148f17d1a2e6631626.tar.bz2
gentoo-2-d905332c007122fa012b42148f17d1a2e6631626.zip
new version of dev-java/sun-jdk
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sun-jdk/ChangeLog6
-rw-r--r--dev-java/sun-jdk/files/digest-sun-jdk-1.4.1_beta0
-rw-r--r--dev-java/sun-jdk/files/sun-jdk-1.4.1_beta15
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.4.1_beta.ebuild70
4 files changed, 90 insertions, 1 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog
index 6e29152e5c1d..fa6ebf72a951 100644
--- a/dev-java/sun-jdk/ChangeLog
+++ b/dev-java/sun-jdk/ChangeLog
@@ -1,6 +1,10 @@
# 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.14 2002/08/01 18:50:56 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.15 2002/08/08 13:10:52 blizzy Exp $
+
+*sun-jdk-1.4.1_beta (08 Aug 2002)
+
+ 08 Aug 2002; Maik Schreiber <blizzy@gentoo.org> : New version.
*sun-jdk-1.3.1.04 (29 Jun 2002)
diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.4.1_beta b/dev-java/sun-jdk/files/digest-sun-jdk-1.4.1_beta
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/sun-jdk/files/digest-sun-jdk-1.4.1_beta
diff --git a/dev-java/sun-jdk/files/sun-jdk-1.4.1_beta b/dev-java/sun-jdk/files/sun-jdk-1.4.1_beta
new file mode 100644
index 000000000000..cd9b4c1537ee
--- /dev/null
+++ b/dev-java/sun-jdk/files/sun-jdk-1.4.1_beta
@@ -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_beta,v 1.1 2002/08/08 13:10:52 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_beta.ebuild b/dev-java/sun-jdk/sun-jdk-1.4.1_beta.ebuild
new file mode 100644
index 000000000000..b7d7d471421a
--- /dev/null
+++ b/dev-java/sun-jdk/sun-jdk-1.4.1_beta.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# /space/gentoo/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.0-r3.ebuild,v 1.1 2002/06/16 00:24:09 rphillips Exp
+
+At="j2sdk-1_4_1-beta-linux-i586.bin"
+S=${WORKDIR}/j2sdk1.4.1
+SRC_URI=""
+DESCRIPTION="Sun's J2SE Development Kit, version 1.4.0"
+HOMEPAGE="http://java.sun.com/j2se/1.4/download.html"
+LICENSE="sun-bcla"
+SLOT="0"
+KEYWORDS="x86"
+DEPEND="virtual/glibc
+ >=dev-java/java-config-0.1.3"
+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 GNUZIP Tar shell script\" package format of the SDK) and move it to ${DISTDIR}"
+ fi
+ tail +273 ${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
+
+ dodir /etc/env.d/java
+ sed \
+ -e "s/@P@/${P}/g" \
+ -e "s/@PV@/${PV}/g" \
+ -e "s/@PF@/${PF}/g" \
+ < ${FILESDIR}/sun-jdk-${PV} \
+ > ${D}/etc/env.d/java/20sun-jdk-${PV}
+}
+
+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
+}