diff options
-rw-r--r-- | dev-java/blackdown-jdk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/blackdown-jdk/blackdown-jdk-1.4.1.ebuild | 73 | ||||
-rw-r--r-- | dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1 | 15 | ||||
-rw-r--r-- | dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1 | 3 |
4 files changed, 97 insertions, 1 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog index 8c4f924a623e..9888e5a50716 100644 --- a/dev-java/blackdown-jdk/ChangeLog +++ b/dev-java/blackdown-jdk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/blackdown-jdk # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.28 2003/02/12 05:50:32 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.29 2003/02/18 10:05:00 cretin Exp $ + +*blackdown-jdk-1.4.1 (18 Feb 2003) + 18 Feb 2003; Stefan Jones <cretin@gentoo.org> : blackdown-jdk-1.4.1.ebuild + New stable version, now java plugin works without a java recompile! + Recomended upgrade! *blackdown-jdk-1.3.1-r9 (27 Jan 2003) 27 Jan 2003; Mark Guertin <gerk@gentoo.org> : blackdown-jdk-1.3.1-r9.ebuild, diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.1.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.1.ebuild new file mode 100644 index 000000000000..391835975036 --- /dev/null +++ b/dev-java/blackdown-jdk/blackdown-jdk-1.4.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2003 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.4.1.ebuild,v 1.1 2003/02/18 10:05:00 cretin Exp $ + +inherit java nsplugins gcc + +S="${WORKDIR}/j2sdk1.4.1" +DESCRIPTION="Blackdown Java Development Kit 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/j2sdk-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/j2sdk-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/j2sdk-1.4.1-01-linux-i586-gcc2.95.bin + sparc? http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/JDK-1.4.1/sparc/01/j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin" + use sparc && RDEPEND=">=sys-devel/gcc-3.2" +fi + +HOMEPAGE="http://www.blackdown.org" +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.6 + doc? ( =dev-java/java-sdk-docs-1.4.1* )" +RDEPEND="$RDEPEND $DEPEND" +PROVIDE="virtual/jdk-1.4.1 + virtual/jre-1.4.1 + virtual/java-scheme-2" +SLOT="1.4.1" +LICENSE="sun-bcla" +KEYWORDS="~x86 -ppc ~sparc" +IUSE="doc" + +src_unpack () { + tail +522 ${DISTDIR}/${A} | tar --no-same-owner -jxp || die "Corrupted file ${A}" +} + + +src_install () { + + dodir /opt/${P} + + cp -a ${S}/{bin,jre,lib,man,include} ${D}/opt/${P} + + dodir /opt/${P}/share/java + cp -a ${S}/{demo,src.zip} ${D}/opt/${P}/share + + dodoc COPYRIGHT LICENSE README INSTALL + dohtml README.html + + # Install mozilla plugin + if [ "${ARCH}" == "x86" ] ; then + PLATFORM="i386" + 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/blackdown-jdk-1.4.1 b/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.1 new file mode 100644 index 000000000000..7f18ff0800c0 --- /dev/null +++ b/dev-java/blackdown-jdk/files/blackdown-jdk-1.4.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.4.1,v 1.1 2003/02/18 10:05:00 cretin Exp $ + +VERSION="Blackdown JDK @PV@" +JAVA_HOME=/opt/@P@ +CLASSPATH=/opt/@P@/jre/lib/rt.jar:. +JDK_HOME=/opt/@P@ +JAVAC=${JAVA_HOME}/bin/javac +ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" +ADDLDPATH="/opt/@P@/jre/lib/i386/:/opt/@P@/jre/lib/i386/native_threads/" +MANPATH=/opt/@P@/man +ENV_VARS="JAVA_HOME CLASSPATH JDK_HOME JAVAC ADDPATH ADDLDPATH MANPATH" diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1 new file mode 100644 index 000000000000..98ab1e3ef673 --- /dev/null +++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1 @@ -0,0 +1,3 @@ +MD5 a0c7838233603fccb30641998195e8bc j2sdk-1.4.1-01-linux-i586-gcc3.2.bin 40813906 +MD5 4e4d248a5b415e5d3e25f53fa682ed33 j2sdk-1.4.1-01-linux-sparc-gcc3.2.bin 40292565 +MD5 19406c884b8620b81e48402edcf4365a j2sdk-1.4.1-01-linux-i586-gcc2.95.bin 40636281 |