diff options
author | Tilman Klar <phoenix@gentoo.org> | 2002-11-21 20:29:19 +0000 |
---|---|---|
committer | Tilman Klar <phoenix@gentoo.org> | 2002-11-21 20:29:19 +0000 |
commit | 05a4f2237a23e0aadfd769a651eee56e3a5095ef (patch) | |
tree | 2447fc815c50cae44c2d39734599cf5aae5bb73d /dev-java | |
parent | More nsplugins masks (diff) | |
download | gentoo-2-05a4f2237a23e0aadfd769a651eee56e3a5095ef.tar.gz gentoo-2-05a4f2237a23e0aadfd769a651eee56e3a5095ef.tar.bz2 gentoo-2-05a4f2237a23e0aadfd769a651eee56e3a5095ef.zip |
Switched to the new nsplugins layout.
Diffstat (limited to 'dev-java')
8 files changed, 243 insertions, 2 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog index 2a1d55e330f7..26948e24dd3a 100644 --- a/dev-java/blackdown-jdk/ChangeLog +++ b/dev-java/blackdown-jdk/ChangeLog @@ -1,6 +1,18 @@ # 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.22 2002/10/24 17:42:05 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.23 2002/11/21 20:25:19 phoenix Exp $ + +*blackdown-jdk-1.4.1_beta-1 (21 Nov 2002) + + 21 Nov 2002; phoen][x <phoenix@gentoo.org> blackdown-jdk-1.4.1_beta-r1.ebuild, + files/digest-blackdown-jdk-1.4.1_beta-r1 : + Switched to the new nsplugins layout. + +*blackdown-jdk-1.3.1-r8 (21 Nov 2002) + + 21 Nov 2002; phoen][x <phoenix@gentoo.org> blackdown-jdk-1.3.1-r8.ebuild, + files/digest-blackdown-jdk-1.3.1-r8 : + Switched to the new nsplugins layout. *blackdown-jdk-1.4.1_beta (18 Oct 2002) diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild new file mode 100644 index 000000000000..e09661401aab --- /dev/null +++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r8.ebuild @@ -0,0 +1,82 @@ +# 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-r8.ebuild,v 1.1 2002/11/21 20:25:19 phoenix Exp $ + +IUSE="doc" + +. /usr/portage/eclass/inherit.eclass +inherit java nsplugins + +S=${WORKDIR}/j2sdk1.3.1 +DESCRIPTION="Blackdown Java Development Kit 1.3.1" +SRC_URI="x86? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/i386/FCS/j2sdk-1.3.1-FCS-linux-i386.tar.bz2 + ppc? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/ppc/FCS-02b/j2sdk-1.3.1-02b-FCS-linux-ppc.bin + sparc? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/sparc/FCS-02b/j2sdk-1.3.1-02b-FCS-linux-sparc.bin + sparc64? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/sparc/FCS-02b/j2sdk-1.3.1-02b-FCS-linux-sparc.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" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64" + +src_unpack () { + if (use ppc) || (use sparc) || (use sparc64) ; then + tail +400 ${DISTDIR}/${A} | tar xjf - + else + unpack ${A} + fi + + if (use sparc) || (use sparc64) ; 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" ] || [ "${ARCH}" == "sparc64" ] ; 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/blackdown-jdk-1.4.1_beta-r1.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.1_beta-r1.ebuild new file mode 100644 index 000000000000..bae3d5a01616 --- /dev/null +++ b/dev-java/blackdown-jdk/blackdown-jdk-1.4.1_beta-r1.ebuild @@ -0,0 +1,65 @@ +# 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-jdk/blackdown-jdk-1.4.1_beta-r1.ebuild,v 1.1 2002/11/21 20:25:19 phoenix Exp $ + +. /usr/portage/eclass/inherit.eclass +inherit java nsplugins + +S=${WORKDIR}/j2sdk1.4.1 +DESCRIPTION="Blackdown Java Development Kit 1.4.1 Beta" +SRC_URI="x86? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.4.1/i386/beta/j2sdk-1.4.1-beta-linux-i586.bin" + +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="$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 -sparc64" +IUSE="doc" + +src_unpack () { + tail +350 ${DISTDIR}/${A} | tar --no-same-owner -jxp +} + + +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,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/digest-blackdown-jdk-1.3.1-r8 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r8 new file mode 100644 index 000000000000..f718ec01a220 --- /dev/null +++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r8 @@ -0,0 +1,3 @@ +MD5 142ddf0a54a06ad81a5df9a31e28431a j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24560062 +MD5 de2f94766988c42f6197d33e1bc6eb56 j2sdk-1.3.1-02b-FCS-linux-ppc.bin 21380823 +MD5 25eda06ac225a995211ba4f28bb7260f j2sdk-1.3.1-02b-FCS-linux-sparc.bin 21154081 diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1_beta-r1 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1_beta-r1 new file mode 100644 index 000000000000..78fe1ee8db8a --- /dev/null +++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.4.1_beta-r1 @@ -0,0 +1 @@ +MD5 3e3fb4262aa72baa2fdf659b35ecde34 j2sdk-1.4.1-beta-linux-i586.bin 38519937 diff --git a/dev-java/blackdown-jre/ChangeLog b/dev-java/blackdown-jre/ChangeLog index 386973ab6177..ebfdb5531e34 100644 --- a/dev-java/blackdown-jre/ChangeLog +++ b/dev-java/blackdown-jre/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/blackdown-jre # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/ChangeLog,v 1.12 2002/09/08 16:10:07 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/ChangeLog,v 1.13 2002/11/21 20:29:19 phoenix Exp $ + +*blackdown-jre-1.3.1-r8 (21 Nov 2002) + + 21 Nov 2002; phoen][x <phoenix@gentoo.org> blackdown-jre-1.3.1-r8.ebuild, + files/digest-blackdown-jre-1.3.1-r8 : + Switched to the new nsplugins layout. *blackdown-jre-1.3.1-r7 (16 Jul 2002) diff --git a/dev-java/blackdown-jre/blackdown-jre-1.3.1-r8.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.3.1-r8.ebuild new file mode 100644 index 000000000000..8f1549320be5 --- /dev/null +++ b/dev-java/blackdown-jre/blackdown-jre-1.3.1-r8.ebuild @@ -0,0 +1,69 @@ +# 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-jre/blackdown-jre-1.3.1-r8.ebuild,v 1.1 2002/11/21 20:29:19 phoenix Exp $ + +IUSE="" + +. /usr/portage/eclass/inherit.eclass +inherit java nsplugins + +S=${WORKDIR}/j2re1.3.1 +DESCRIPTION="Blackdown Java Runtime Environment 1.3.1" +SRC_URI="x86? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/i386/FCS/j2re-1.3.1-FCS-linux-i386.tar.bz2 + ppc? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/ppc/FCS-02b/j2re-1.3.1-02b-FCS-linux-ppc.bin + sparc? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/sparc/FCS-02b/j2re-1.3.1-02b-FCS-linux-sparc.bin + sparc64? ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/sparc/FCS-02b/j2re-1.3.1-02b-FCS-linux-sparc.bin" +HOMEPAGE="http://www.blackdown.org" +DEPEND="virtual/glibc + >=dev-java/java-config-0.2.5" +RDEPEND="$DEPEND" +PROVIDE="virtual/jre-1.3.1 + virtual/java-scheme-2" +SLOT="0" +LICENSE="sun-bcla" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64" + +src_unpack () { + if (use ppc) || (use sparc) || (use sparc64) ; then + tail +422 ${DISTDIR}/${A} | tar xjf - + else + unpack ${A} + fi + if (use sparc) || (use sparc64) ; then + # The files are owned by 1000.100, for some reason. + chown -R root.root + fi +} + +src_install () { + dodir /opt/${P} + + cp -dpR ${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" ] || [ "${ARCH}" == "sparc64" ] ; 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/digest-blackdown-jre-1.3.1-r8 b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r8 new file mode 100644 index 000000000000..5e696e658259 --- /dev/null +++ b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r8 @@ -0,0 +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 |