summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad House <brad_mssw@gentoo.org>2003-10-05 03:41:25 +0000
committerBrad House <brad_mssw@gentoo.org>2003-10-05 03:41:25 +0000
commit0d2b298b6f1bad574842b60cabce92e7d38d2d7f (patch)
treed1f80d49c194faf33efb87ca9b1c7daeabd8bf87 /dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild
parentcoreutils workaround (diff)
downloadhistorical-0d2b298b6f1bad574842b60cabce92e7d38d2d7f.tar.gz
historical-0d2b298b6f1bad574842b60cabce92e7d38d2d7f.tar.bz2
historical-0d2b298b6f1bad574842b60cabce92e7d38d2d7f.zip
java for amd64
Diffstat (limited to 'dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild')
-rw-r--r--dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild
index 79c9547b7514..8121fe7e764b 100644
--- a/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild
+++ b/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild,v 1.5 2003/09/06 12:13:12 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild,v 1.6 2003/10/05 03:41:21 brad_mssw Exp $
inherit java nsplugins gcc
@@ -10,22 +10,26 @@ DESCRIPTION="Blackdown Java Runtime Environment 1.4.1"
if [ "`gcc-major-version`" -eq "3" -a "`gcc-minor-version`" -ge "2" ]
then
SRC_URI="x86? http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc3.2.bin
+ amd64? http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc3.2.bin
sparc? http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/sparc/01/j2re-1.4.1-01-linux-sparc-gcc3.2.bin"
else
SRC_URI="x86? http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc2.95.bin
+ amd64? http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc3.2.bin
sparc? http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/sparc/01/j2re-1.4.1-01-linux-sparc-gcc3.2.bin"
use sparc && RDEPEND=">=sys-devel/gcc-3.2"
+ use amd64 && RDEPEND=">=sys-devel/gcc-3.2"
fi
HOMEPAGE="http://www.blackdown.org"
DEPEND="virtual/glibc
+ amd64? ( >=app-emulation/emul-linux-x86-baselibs-1 )
>=dev-java/java-config-0.2.5"
RDEPEND="$RDEPEND $DEPEND"
PROVIDE="virtual/jre-1.4.1
virtual/java-scheme-2"
SLOT="0"
LICENSE="sun-bcla-java-vm"
-KEYWORDS="x86 sparc"
+KEYWORDS="x86 sparc ~amd64"
src_unpack () {
tail -n +461 ${DISTDIR}/${A} | tar xjf -
@@ -43,6 +47,8 @@ src_install () {
# Install mozilla plugin
if [ "${ARCH}" == "x86" ] ; then
PLATFORM="i386"
+ elif [ "${ARCH}" == "amd64" ] ; then
+ PLATFORM="i386"
elif [ "${ARCH}" == "ppc" ] ; then
PLATFORM="ppc"
elif [ "${ARCH}" == "sparc" ] ; then