diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-02-18 19:28:15 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-02-18 19:28:15 +0000 |
commit | f752270cc53c408c87a9e9ed8cc218fc4422a706 (patch) | |
tree | 5c2a6e9fc47d739f4b338288065b1dfb132eda0a | |
parent | New ebuild (diff) | |
download | historical-f752270cc53c408c87a9e9ed8cc218fc4422a706.tar.gz historical-f752270cc53c408c87a9e9ed8cc218fc4422a706.tar.bz2 historical-f752270cc53c408c87a9e9ed8cc218fc4422a706.zip |
New java version
-rw-r--r-- | dev-java/blackdown-jre/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild | 65 | ||||
-rw-r--r-- | dev-java/blackdown-jre/files/blackdown-jre-1.4.1 | 14 | ||||
-rw-r--r-- | dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.1 | 3 |
4 files changed, 87 insertions, 1 deletions
diff --git a/dev-java/blackdown-jre/ChangeLog b/dev-java/blackdown-jre/ChangeLog index 142a29f6ce5b..8445444c320b 100644 --- a/dev-java/blackdown-jre/ChangeLog +++ b/dev-java/blackdown-jre/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/blackdown-jre # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/ChangeLog,v 1.17 2003/02/12 05:50:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/ChangeLog,v 1.18 2003/02/18 19:28:15 cretin Exp $ + +*blackdown-jre-1.4.1 (18 Feb 2003) + 18 Feb 2003; Stefan Jones <gerk@gentoo.org> : blackdown-jre-1.4.1.ebuild, + New version for all ya java fans, now supports gcc3.2 for mozilla plugin. *blackdown-jre-1.3.1-r9 (27 Jan 2003) 27 Jan 2003; Mark Guertin <gerk@gentoo.org> : blackdown-jre-1.3.1-r9.ebuild, diff --git a/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild new file mode 100644 index 000000000000..e0ab80447244 --- /dev/null +++ b/dev-java/blackdown-jre/blackdown-jre-1.4.1.ebuild @@ -0,0 +1,65 @@ +# 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.1 2003/02/18 19:28:15 cretin Exp $ + +inherit java nsplugins gcc + +S=${WORKDIR}/j2re1.4.1 +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 + 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 + 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" +fi + +HOMEPAGE="http://www.blackdown.org" +DEPEND="virtual/glibc + >=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" +KEYWORDS="~x86 ~sparc" + +src_unpack () { + tail +461 ${DISTDIR}/${A} | tar xjf - +} + +src_install () { + dodir /opt/${P} + + cp -a ${S}/{bin,lib,man,plugin} ${D}/opt/${P}/ + find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \; + + dodoc COPYRIGHT LICENSE README INSTALL + dohtml README.html + + # Install mozilla plugin + if [ "${ARCH}" == "x86" ] ; then + PLATFORM="i386" + elif [ "${ARCH}" == "ppc" ] ; then + PLATFORM="ppc" + elif [ "${ARCH}" == "sparc" ] ; then + PLATFORM="sparc" + fi + inst_plugin /opt/${P}/plugin/${PLATFORM}/mozilla/javaplugin_oji.so + + mv ${D}/opt/${P}/lib/font.properties ${D}/opt/${P}/lib/font.properties.orig + sed "s/standard symbols l/symbol/g" \ + < ${D}/opt/${P}/lib/font.properties.orig \ + > ${D}/opt/${P}/lib/font.properties + rm ${D}/opt/${P}/lib/font.properties.orig + + set_java_env ${FILESDIR}/${VMHANDLE} +} + +pkg_postinst () { + java_pkg_postinst +} + diff --git a/dev-java/blackdown-jre/files/blackdown-jre-1.4.1 b/dev-java/blackdown-jre/files/blackdown-jre-1.4.1 new file mode 100644 index 000000000000..3a8c10e23214 --- /dev/null +++ b/dev-java/blackdown-jre/files/blackdown-jre-1.4.1 @@ -0,0 +1,14 @@ +# 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-jre/files/blackdown-jre-1.4.1,v 1.1 2003/02/18 19:28:15 cretin Exp $ + +VERSION="Blackdown JRE @PV@" +JAVA_HOME=/opt/@P@ +CLASSPATH=/opt/@P@/lib/rt.jar +JRE_HOME=/opt/@P@ +ADDPATH="${JAVA_HOME}/bin" +ADDLDPATH="/opt/@P@/lib/" +MANPATH=/opt/@P@/man +ENV_VARS="JAVA_HOME CLASSPATH JRE_HOME ADDPATH ADDLDPATH MANPATH" diff --git a/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.1 b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.1 new file mode 100644 index 000000000000..6df842aee3ad --- /dev/null +++ b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.4.1 @@ -0,0 +1,3 @@ +MD5 bea9c5869c084815bee026d466094995 j2re-1.4.1-01-linux-i586-gcc3.2.bin 20661166 +MD5 29f856a10aae9f296a09a3f9deaf01b7 j2re-1.4.1-01-linux-sparc-gcc3.2.bin 22057279 +MD5 3857975cd3b7ebcbe544ba0a46308e0c j2re-1.4.1-01-linux-i586-gcc2.95.bin 20470579 |