summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-03-18 21:45:38 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-03-18 21:45:38 +0000
commit07f6738cc70f4ca490209d97fa19a2c7c8364a36 (patch)
tree86fa23d3489f56944649405936d8b40768b3196b /dev-java/blackdown-jdk
parentVersion bump, and dependency to >= from = (diff)
downloadgentoo-2-07f6738cc70f4ca490209d97fa19a2c7c8364a36.tar.gz
gentoo-2-07f6738cc70f4ca490209d97fa19a2c7c8364a36.tar.bz2
gentoo-2-07f6738cc70f4ca490209d97fa19a2c7c8364a36.zip
Major updates. #754
Diffstat (limited to 'dev-java/blackdown-jdk')
-rw-r--r--dev-java/blackdown-jdk/ChangeLog10
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r3.ebuild (renamed from dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r2.ebuild)24
-rw-r--r--dev-java/blackdown-jdk/files/blackdown-jdk-1.3.115
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r3 (renamed from dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r2)0
4 files changed, 36 insertions, 13 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog
index a6683780c886..a23f8538f3aa 100644
--- a/dev-java/blackdown-jdk/ChangeLog
+++ b/dev-java/blackdown-jdk/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/blackdown-jdk
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.1 2002/02/01 21:53:11 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.2 2002/03/18 21:45:38 karltk Exp $
+
+*blackdown-jdk-1.3.1-r3 (18 Mar 2002)
+
+ 18 Mar 2002; Karl Trygve Kalleberg <karltk@gentoo.org> blackdown-jdk-1.3.1-r3 files/digest-blackdown-jdk-1.3.1-r3 files/blackdown-jdk-1.3.1 :
+
+ Added support for JVM switching.
+
+ Removed old revisions.
*blackdown-jdk-1.3.1-r2 (1 Feb 2002)
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r2.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r3.ebuild
index 306b1ec7bf6b..fe679f473bab 100644
--- a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r2.ebuild
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r3.ebuild
@@ -1,20 +1,20 @@
# 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-r2.ebuild,v 1.2 2002/01/29 14:12:46 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r3.ebuild,v 1.1 2002/03/18 21:45:38 karltk Exp $
A=j2sdk-1.3.1-FCS-linux-i386.tar.bz2
S=${WORKDIR}/j2sdk1.3.1
-DESCRIPTION="Java Runtime Environment"
+DESCRIPTION="Blackdown Java Development Kit 1.3.1"
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
- >=dev-java/java-config-0.1.3"
+ >=dev-java/java-config-0.2.0"
RDEPEND="$DEPEND"
-PROVIDE="virtual/jdk-1.3
- virtual/jre-1.3"
+PROVIDE="virtual/jdk-1.3-r1
+ virtual/jre-1.3-r1"
src_install () {
@@ -34,13 +34,13 @@ src_install () {
find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
- dodir /etc/env.d
- echo "PATH=/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 "ROOTPATH=/opt/${P}/bin" >> ${D}/etc/env.d/21jdk
- echo "CLASSPATH=/opt/${P}/jre/lib/rt.jar" >> ${D}/etc/env.d/21jdk
- echo "LDPATH=/opt/${P}/jre/lib/i386:/opt/${P}/jre/lib/i386/client" >> ${D}/etc/env.d/21jdk
+ dodir /etc/env.d/java
+ sed \
+ -e "s/@P@/${P}/g" \
+ -e "s/@PV@/${PV}/g" \
+ -e "s/@PF@/${PF}/g" \
+ < ${FILESDIR}/blackdown-jdk-${PV} \
+ > ${D}/etc/env.d/java/20blackdown-jdk-${PV}
}
pkg_postinst () {
diff --git a/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.1 b/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.1
new file mode 100644
index 000000000000..03d42d9e819f
--- /dev/null
+++ b/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.1
@@ -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/blackdown-jdk/files/blackdown-jdk-1.3.1,v 1.1 2002/03/18 21:45:38 karltk Exp $
+
+VERSION="Blackdown JDK @PV@"
+JAVA_HOME=/opt/@P@
+CLASSPATH=/opt/@P@/lib/rt.jar
+JDK_HOME=/opt/@P@
+JAVAC=${JDK_HOME}/bin/javac
+ADDPATH="${JAVA_HOME}/bin"
+ADDLDPATH=/opt/@P@/jre/lib/rt.jar
+
+ENV_VARS="JAVA_HOME CLASSPATH JDK_HOME JAVAC ADDPATH ADDLDPATH"
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r2 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r3
index e8be112316e9..e8be112316e9 100644
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r2
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r3