diff options
author | Mark Guertin <gerk@gentoo.org> | 2003-01-27 20:31:40 +0000 |
---|---|---|
committer | Mark Guertin <gerk@gentoo.org> | 2003-01-27 20:31:40 +0000 |
commit | 8538b6015fd8d72a3d42344a36e7884d8b2a10d3 (patch) | |
tree | a040a37c8c4d4436e67c6c4c8598bd0f4d2098f5 /dev-java/blackdown-jdk | |
parent | added new gcc 3.2 happy blackdown for ppc only (diff) | |
download | gentoo-2-8538b6015fd8d72a3d42344a36e7884d8b2a10d3.tar.gz gentoo-2-8538b6015fd8d72a3d42344a36e7884d8b2a10d3.tar.bz2 gentoo-2-8538b6015fd8d72a3d42344a36e7884d8b2a10d3.zip |
added new gcc 3.2 happy version for ppc only
Diffstat (limited to 'dev-java/blackdown-jdk')
-rw-r--r-- | dev-java/blackdown-jdk/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r9.ebuild | 85 | ||||
-rw-r--r-- | dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r9 | 1 |
3 files changed, 95 insertions, 1 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog index 22f8bfeb2aae..90e59f595831 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.26 2002/12/15 19:54:40 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.27 2003/01/27 20:31:40 gerk Exp $ + +*blackdown-jdk-1.3.1-r9 (27 Jan 2003) + 27 Jan 2003; Mark Guertin <gerk@gentoo.org> : blackdown-jdk-1.3.1-r9.ebuild, + files/digest-blackdown-jdk-1.3.1-r9 : + new version, set only as ~ppc for now (there are no other arches supported yet + for this revision, but it was desperately needed for ppc users using gcc 3.2. + Due to this promoting directly to stable and locking down older ones in 1.0 + profiles 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r9.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r9.ebuild new file mode 100644 index 000000000000..986b5e6885f5 --- /dev/null +++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r9.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r9.ebuild,v 1.1 2003/01/27 20:31:40 gerk Exp $ + +IUSE="doc" + +inherit java nsplugins + +S=${WORKDIR}/j2sdk1.3.1 +DESCRIPTION="Blackdown Java Development Kit 1.3.1" +SRC_URI="ppc? http://distro.ibiblio.org/pub/Linux/distributions/yellowdog/software/openoffice/j2sdk-1.3.1-02c-FCS-linux-ppc.bin" + +HOMEPAGE="http://www.blackdown.org" +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.5 + doc? ( =dev-java/java-sdk-docs-1.3.1* )" +RDEPEND="$DEPEND" +PROVIDE="virtual/jdk-1.3.1 + virtual/jre-1.3.1 + virtual/java-scheme-2" +SLOT="1.3" +LICENSE="sun-bcla" + +# other arches need to chase down their new updates when they become available +KEYWORDS="ppc" + +src_unpack () { + if (use ppc) || (use sparc) ; then + # this is built on gcc 3.2 so only update if gcc 3.x is present + [ -z "${CC}" ] && CC=gcc + if [ "`${CC} -dumpversion | cut -d. -f1,2`" = "2.95" ] ; then + die "This is for gcc 3.x only" + fi + tail +400 ${DISTDIR}/${A} | tar xjf - + else + unpack ${A} + fi + + if (use sparc) ; then + # Everything is owned by 1000.100, for some reason.. + chown -R root.root . + fi +} + + +src_install () { + + dodir /opt/${P} + + cp -dpR ${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 + dohtml README.html + + # Install ns plugin + if [ "${ARCH}" == "x86" ] ; then + PLATFORM="i386" + elif [ "${ARCH}" == "ppc" ] ; then + PLATFORM="ppc" + elif [ "${ARCH}" == "sparc" ] ; then + PLATFORM="sparc" + fi + + inst_plugin /opt/${P}/jre/plugin/${PLATFORM}/mozilla/javaplugin_oji.so + + find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \; + + mv ${D}/opt/${P}/jre/lib/font.properties ${D}/opt/${P}/jre/lib/font.properties.orig + sed "s/standard symbols l/symbol/g" \ + < ${D}/opt/${P}/jre/lib/font.properties.orig \ + > ${D}/opt/${P}/jre/lib/font.properties + rm ${D}/opt/${P}/jre/lib/font.properties.orig + + # install env into /etc/env.d + set_java_env ${FILESDIR}/${VMHANDLE} || die +} + +pkg_postinst () { + # Set as default system VM if none exists + java_pkg_postinst +} + diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r9 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r9 new file mode 100644 index 000000000000..8f63c6b22d82 --- /dev/null +++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r9 @@ -0,0 +1 @@ +MD5 cd11e9cb460700cbb34be1da511e182c j2sdk-1.3.1-02c-FCS-linux-ppc.bin 21708768 |