summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-28 13:10:22 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-28 13:10:22 +0000
commitc659883a8661b3b44e191a3f0f49175283a4430a (patch)
tree27d96c048256b8324a2be4e0a4eda145e7225505 /dev-java/blackdown-jdk
parentFixes #7041. (diff)
downloadgentoo-2-c659883a8661b3b44e191a3f0f49175283a4430a.tar.gz
gentoo-2-c659883a8661b3b44e191a3f0f49175283a4430a.tar.bz2
gentoo-2-c659883a8661b3b44e191a3f0f49175283a4430a.zip
Fixes #7042.
Diffstat (limited to 'dev-java/blackdown-jdk')
-rw-r--r--dev-java/blackdown-jdk/ChangeLog6
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r7.ebuild33
-rw-r--r--dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r71
3 files changed, 15 insertions, 25 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog
index b8b3fe0e1503..e416204ce879 100644
--- a/dev-java/blackdown-jdk/ChangeLog
+++ b/dev-java/blackdown-jdk/ChangeLog
@@ -1,9 +1,13 @@
# 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.14 2002/08/26 16:48:24 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.15 2002/08/28 13:10:22 karltk Exp $
*blackdown-jdk-1.3.1-r7 (16 Jul 2002)
+ 28 Aug 2002; Karl Trygve Kalleberg <karltk@gentoo.org> blackdown-jdk-1.3.1-r7:
+ Added rudimentary sparc support, but it is still somewhat untested.
+ Fixes #7042.
+
26 Aug 2002; Karl Trygve Kalleberg <karltk@gentoo.org> blackdown-jdk-1.3.1-r7:
Added doc keyword to optionally install documentation. Set SLOT to 1.3, so
that it may coexist with the upcoming 1.4 release. Fixes #6668. Now
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r7.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r7.ebuild
index fc4aba3437db..ed78f1880e96 100644
--- a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r7.ebuild
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r7.ebuild
@@ -1,32 +1,17 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r7.ebuild,v 1.6 2002/08/26 16:48:25 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r7.ebuild,v 1.7 2002/08/28 13:10:22 karltk Exp $
. /usr/portage/eclass/inherit.eclass
inherit java
-case `system_arch` in
- ppc)
- PLATFORM="ppc"
- FCS="FCS-02b"
- MY_P="j2sdk-1.3.1-02b-FCS-linux-ppc.bin"
- ;;
-
- i386)
- PLATFORM="i386"
- FCS="FCS"
- MY_P="j2sdk-1.3.1-FCS-linux-i386.tar.bz2"
- ;;
- sparc)
- ;;
-
- sparc64)
- ;;
-esac
-
S=${WORKDIR}/j2sdk1.3.1
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/${PLATFORM}/${FCS}/${MY_P}"
+SRC_URI="x86? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/i386/FCS/j2sdk-1.3.1-FCS-linux-i386.tar.bz2
+ ppc? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/ppc/FCS-02b/j2sdk-1.3.1-02b-FCS-linux-ppc.bin
+ sparc? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/sparc/FCS-02b/j2sdk-1.3.1-02b-FCS-linux-sparc.bin
+ sparc64? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/sparc/FCS-02b/j2sdk-1.3.1-02b-FCS-linux-sparc.bin"
+
HOMEPAGE="http://www.blackdown.org"
DEPEND="virtual/glibc
>=dev-java/java-config-0.2.0
@@ -40,11 +25,11 @@ LICENSE="sun-bcla"
KEYWORDS="x86 ppc -sparc -sparc64"
src_unpack () {
- if [ $PLATFORM = "ppc" ]; then
- tail +400 ${DISTDIR}/${MY_P} > j2sdk-1.3.1-ppc.tar.bz2
+ if (use ppc) || (use sparc) || (use sparc64) ; then
+ tail +400 ${DISTDIR}/${A} > j2sdk-1.3.1-ppc.tar.bz2
tar -xjf j2sdk-1.3.1-ppc.tar.bz2
else
- unpack ${MY_P}
+ unpack ${A}
fi
}
diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r7 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r7
index 0171077cc4b5..f718ec01a220 100644
--- a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r7
+++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r7
@@ -1,2 +1,3 @@
MD5 142ddf0a54a06ad81a5df9a31e28431a j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062
MD5 de2f94766988c42f6197d33e1bc6eb56 j2sdk-1.3.1-02b-FCS-linux-ppc.bin 21380823
+MD5 25eda06ac225a995211ba4f28bb7260f j2sdk-1.3.1-02b-FCS-linux-sparc.bin 21154081