summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2001-12-15 01:07:52 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2001-12-15 01:07:52 +0000
commitb1987d7b7e0107de5850738a56d375ebae03a5a0 (patch)
tree05774204d1235b5326d73591a0c83c66d138ce04 /dev-java/blackdown-jdk
parentUnmasked TightVNC (diff)
downloadgentoo-2-b1987d7b7e0107de5850738a56d375ebae03a5a0.tar.gz
gentoo-2-b1987d7b7e0107de5850738a56d375ebae03a5a0.tar.bz2
gentoo-2-b1987d7b7e0107de5850738a56d375ebae03a5a0.zip
Major Java overhaul in progress
Diffstat (limited to 'dev-java/blackdown-jdk')
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.3.1.ebuild44
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.11
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1.ebuild
new file mode 100644
index 000000000000..3443cfb64efa
--- /dev/null
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1.ebuild,v 1.1 2001/12/15 01:07:51 karltk Exp $
+
+A=j2sdk-1.3.1-FCS-linux-i386.tar.bz2
+S=${WORKDIR}/j2sdk1.3.1
+DESCRIPTION="Java Runtime Environment"
+SRC_URI="ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/i386/FCS/${A}"
+HOMEPAGE="http://www.blackdown.org"
+
+DEPEND="virtual/glibc"
+
+PROVIDE="virtual/jdk-1.3
+ virtual/jre-1.3"
+
+src_install () {
+
+ dodir /opt/${P}
+
+ cp -R ${S}/{bin,jre,lib,man,include,include-old} ${D}/opt/${P}
+
+ dodir /opt/${P}/share/java
+ cp -R ${S}/{demo,src.jar} ${D}/opt/${P}/share
+
+ dodoc COPYRIGHT LICENSE README INSTALL README.html
+
+ if [ "`use mozilla`" ] ; then
+ dosym /opt/${P}/jre/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla/plugins/javaplugin_oji.so
+ fi
+
+ dodir /etc/env.d
+ echo "JAVA_HOME=/opt/${P}" > ${D}/etc/env.d/20java
+ echo "CLASSPATH=/opt/${P}/jre/lib/rt.jar" >> ${D}/etc/env.d/20java
+}
+
+pkg_postinst () {
+ if [ "`use mozilla`" ] ; then
+ einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/javaplugin_oji.so"
+ else
+ einfo "For instructions on installing the ${P} browser plugin for"
+ einfo "Netscape and Mozilla, see /usr/share/doc/${P}/INSTALL."
+ fi
+}
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1
new file mode 100644
index 000000000000..47d6ea0a8ce6
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1
@@ -0,0 +1 @@
+MD5 142ddf0a54a06ad81a5df9a31e28431a j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24563712