diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-20 22:29:07 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-20 22:29:07 +0000 |
commit | e1c1fdc24135384ddc29d9a7454bdb0b644c9f7c (patch) | |
tree | b72ac6f4ddc5188b6362457ef066021e0212c4b7 /dev-java | |
parent | fixed incorrect digest reported in bug 227 (diff) | |
download | gentoo-2-e1c1fdc24135384ddc29d9a7454bdb0b644c9f7c.tar.gz gentoo-2-e1c1fdc24135384ddc29d9a7454bdb0b644c9f7c.tar.bz2 gentoo-2-e1c1fdc24135384ddc29d9a7454bdb0b644c9f7c.zip |
Minor updates
Diffstat (limited to 'dev-java')
4 files changed, 204 insertions, 0 deletions
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild new file mode 100644 index 000000000000..c7ad0a2f4151 --- /dev/null +++ b/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r1.ebuild,v 1.1 2002/01/20 22:29:07 karltk Exp $ + +A=j2sdk-1.3.1-FCS-linux-i386.tar.bz2 +S=${WORKDIR}/j2sdk1.3.1 +DESCRIPTION="Java Runtime Environment" +SRC_URI="ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/i386/FCS/${A}" +HOMEPAGE="http://www.blackdown.org" + +DEPEND="virtual/glibc + >=dev-java/java-config-0.1.1" + +RDEPEND="$DEPEND" +PROVIDE="virtual/jdk-1.3 + virtual/jre-1.3" + +src_install () { + + dodir /opt/${P} + + cp -R ${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 README.html + + if [ "`use mozilla`" ] ; then + dodir /usr/lib/mozilla/plugins + dosym /opt/${P}/jre/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla/plugins/javaplugin_oji.so + fi + + dodir /etc/env.d + echo "PATH=/opt/${P}/bin" > ${D}/etc/env.d/20java + echo "JAVA_HOME=/opt/${P}" >> ${D}/etc/env.d/20java + echo "CLASSPATH=/opt/${P}/jre/lib/rt.jar" >> ${D}/etc/env.d/20java +} + +pkg_postinst () { + if [ "`use mozilla`" ] ; then + einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/javaplugin_oji.so" + else + einfo "For instructions on installing the ${P} browser plugin for" + einfo "Netscape and Mozilla, see /usr/share/doc/${P}/INSTALL." + fi +} diff --git a/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r1 b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r1 new file mode 100644 index 000000000000..47d6ea0a8ce6 --- /dev/null +++ b/dev-java/blackdown-jdk/files/digest-blackdown-jdk-1.3.1-r1 @@ -0,0 +1 @@ +MD5 142ddf0a54a06ad81a5df9a31e28431a j2sdk-1.3.1-FCS-linux-i386.tar.bz2 24563712 diff --git a/dev-java/blackdown-jre/blackdown-jre-1.3.1-r3.ebuild b/dev-java/blackdown-jre/blackdown-jre-1.3.1-r3.ebuild new file mode 100644 index 000000000000..6ca9a55bddcf --- /dev/null +++ b/dev-java/blackdown-jre/blackdown-jre-1.3.1-r3.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jre/blackdown-jre-1.3.1-r3.ebuild,v 1.1 2002/01/20 22:29:07 karltk Exp $ + +A=j2re-1.3.1-FCS-linux-i386.tar.bz2 +S=${WORKDIR}/j2re1.3.1 +DESCRIPTION="Java Runtime Environment" +SRC_URI="ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.3.1/i386/FCS/${A}" +HOMEPAGE="http://www.blackdown.org" + +DEPEND="virtual/glibc + >=dev-java/java-config-0.1.1" +RDEPEND="$DEPEND" + +PROVIDE="virtual/jre-1.3" + +src_install () { + insinto /opt/${P} + doins JavaPluginControlPanel.html + + exeinto /opt/${P}/bin + doexe bin/.java_wrapper bin/awt_robot bin/JavaPluginControlPanel + doexe bin/j2sdk-config bin/realpath + + dosym /opt/${P}/bin/.java_wrapper /opt/${P}/bin/java + dosym /opt/${P}/bin/.java_wrapper /opt/${P}/bin/keytool + dosym /opt/${P}/bin/.java_wrapper /opt/${P}/bin/policytool + dosym /opt/${P}/bin/.java_wrapper /opt/${P}/bin/rmid + dosym /opt/${P}/bin/.java_wrapper /opt/${P}/bin/rmiregistry + dosym /opt/${P}/bin/.java_wrapper /opt/${P}/bin/tnameserv + + exeinto /opt/${P}/bin/i386 + doexe bin/i386/realpath + + exeinto /opt/${P}/bin/i386/green_threads + doexe bin/i386/green_threads/* + + exeinto /opt/${P}/bin/i386/native_threads + doexe bin/i386/native_threads/* + + insinto /opt/${P}/lib + doins lib/* + + dodir /opt/${P}/lib/applet + + insinto /opt/${P}/lib/audio + doins lib/audio/* + + insinto /opt/${P}/lib/cmm + doins lib/cmm/* + + dodir /opt/${P}/lib/ext + + insinto /opt/${P}/lib/fonts + doins lib/fonts/* + + insinto /opt/${P}/lib/i386 + doins lib/i386/* + + insinto /opt/${P}/lib/i386/classic + doins lib/i386/classic/* + + insinto /opt/${P}/lib/i386/client + doins lib/i386/client/* + + insinto /opt/${P}/lib/i386/green_threads + doins lib/i386/green_threads/* + + insinto /opt/${P}/lib/i386/native_threads + doins lib/i386/native_threads/* + + insinto /opt/${P}/lib/i386/server + doins lib/i386/server/* + + insinto /opt/${P}/lib/images/cursors + doins lib/images/cursors/* + + insinto /opt/${P}/lib/locale/de/LC_MESSAGES + doins lib/locale/de/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/es/LC_MESSAGES + doins lib/locale/es/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/fr/LC_MESSAGES + doins lib/locale/fr/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/it/LC_MESSAGES + doins lib/locale/ja/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/ko/LC_MESSAGES + doins lib/locale/ko/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/ko.UTF-8/LC_MESSAGES + doins lib/locale/ko.UTF-8/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/sv/LC_MESSAGES + doins lib/locale/sv/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/zh/LC_MESSAGES + doins lib/locale/zh/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/zh.GBK/LC_MESSAGES + doins lib/locale/zh.GBK/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/zh_TW/LC_MESSAGES + doins lib/locale/zh_TW/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/zh_TW.BIG5/LC_MESSAGES + doins lib/locale/zh_TW.BIG5/LC_MESSAGES/* + + insinto /opt/${P}/lib/locale/de/LC_MESSAGES + doins lib/locale/de/LC_MESSAGES/* + + insinto /opt/${P}/lib/security + doins lib/security/* + + insinto /opt/${P}/man/ja/man1 + doins man/ja/man1/* + + insinto /opt/${P}/man/man1 + doins man/man1/* + + insinto /opt/${P}/plugin/i386/mozilla + doins plugin/i386/mozilla/* + + dosym /opt/${P}/plugin/i386/mozilla /opt/${P}/plugin/i386/netscape6 + + insinto /opt/${P}/plugin/i386/netscape4 + doins plugin/i386/netscape4/* + + dodir /usr/share + dodoc COPYRIGHT LICENSE README INSTALL + + if [ "`use mozilla`" ] ; then + dodir /usr/lib/mozilla/plugins + dosym /opt/${P}/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla/plugins/javaplugin_oji.so + fi + + dodir /etc/env.d + echo "PATH=/opt/${P}/bin" > ${D}/etc/env.d/20java + echo "JAVA_HOME=/opt/${P}" >> ${D}/etc/env.d/20java + echo "CLASSPATH=/opt/${P}/lib/rt.jar" >> ${D}/etc/env.d/20java +} + +pkg_postinst () { + + if [ "`use mozilla`" ] ; then + einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/javaplugin_oji.so" + else + einfo "For instructions on installing the ${P} browser plugin for" + einfo "Netscape and Mozilla, see /usr/share/doc/${P}/INSTALL." + fi +} diff --git a/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r3 b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r3 new file mode 100644 index 000000000000..660d2525c329 --- /dev/null +++ b/dev-java/blackdown-jre/files/digest-blackdown-jre-1.3.1-r3 @@ -0,0 +1 @@ +MD5 951d59730ceaf5fddf2f6ec0a74e302b j2re-1.3.1-FCS-linux-i386.tar.bz2 13246464 |