summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Thibaut <murphy@gentoo.org>2002-08-16 01:41:47 +0000
committerMaarten Thibaut <murphy@gentoo.org>2002-08-16 01:41:47 +0000
commitee583e1088ff0a48f2d7b7102868afd3bbad53a8 (patch)
treef94c9872da173a01c6ae6c362817a4abff8ce0bf /dev-java/blackdown-jre
parentmodified to work with quirky aspell-fr version (diff)
downloadgentoo-2-ee583e1088ff0a48f2d7b7102868afd3bbad53a8.tar.gz
gentoo-2-ee583e1088ff0a48f2d7b7102868afd3bbad53a8.tar.bz2
gentoo-2-ee583e1088ff0a48f2d7b7102868afd3bbad53a8.zip
added sparc capability
Diffstat (limited to 'dev-java/blackdown-jre')
-rw-r--r--dev-java/blackdown-jre/blackdown-jre-1.3.1-r7.ebuild15
-rw-r--r--dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r71
2 files changed, 10 insertions, 6 deletions
diff --git a/dev-java/blackdown-jre/blackdown-jre-1.3.1-r7.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.3.1-r7.ebuild
index 544d5ac9d364..6b7b5866aac2 100644
--- a/dev-java/blackdown-jre/blackdown-jre-1.3.1-r7.ebuild
+++ b/dev-java/blackdown-jre/blackdown-jre-1.3.1-r7.ebuild
@@ -1,6 +1,6 @@
# 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-jre/blackdown-jre-1.3.1-r7.ebuild,v 1.6 2002/08/01 17:11:12 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/blackdown-jre-1.3.1-r7.ebuild,v 1.7 2002/08/16 01:41:47 murphy Exp $
. /usr/portage/eclass/inherit.eclass
inherit java
@@ -18,10 +18,10 @@ case `system_arch` in
MY_P="j2re-1.3.1-FCS-linux-i386.tar.bz2"
;;
- sparc)
- ;;
-
- sparc64)
+ sparc|sparc64)
+ PLATFORM="sparc"
+ FCS="FCS-02b"
+ MY_P="j2re-1.3.1-02b-FCS-linux-sparc.bin"
;;
esac
@@ -37,12 +37,15 @@ PROVIDE="virtual/jre-1.3
virtual/java-scheme-2"
SLOT="0"
LICENSE="sun-bcla"
-KEYWORDS="x86 ppc -sparc -sparc64"
+KEYWORDS="x86 ppc sparc sparc64"
src_unpack () {
if [ $PLATFORM = "ppc" ]; then
tail +422 ${DISTDIR}/${MY_P} > j2re-1.3.1-ppc.tar.bz2
tar -xjf j2re-1.3.1-ppc.tar.bz2
+ elif [ $PLATFORM = "sparc" ]; then
+ tail +422 ${DISTDIR}/${MY_P} > j2re-1.3.1-sparc.tar.bz2
+ tar -xjf j2re-1.3.1-sparc.tar.bz2
else
unpack ${MY_P}
fi
diff --git a/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r7 b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r7
index b8b0e0482180..5e696e658259 100644
--- a/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r7
+++ b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r7
@@ -1,2 +1,3 @@
MD5 951d59730ceaf5fddf2f6ec0a74e302b j2re-1.3.1-FCS-linux-i386.tar.bz2 13246191
MD5 f18aa1b04bac22c2ecbfa77cc5888e1b j2re-1.3.1-02b-FCS-linux-ppc.bin 11027038
+MD5 157c5055db29a745696ad5c9f7ea51bd j2re-1.3.1-02b-FCS-linux-sparc.bin 10821140