summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Maes <sejo@gentoo.org>2004-05-01 08:21:30 +0000
committerJochen Maes <sejo@gentoo.org>2004-05-01 08:21:30 +0000
commit0c660c58a55ce58349ef02db93fc5275f4747d28 (patch)
tree17ad45921e343c78ef5bd1bc08f470c014019955 /dev-java
parentAdd Version 0.3, closes Bug 44437. Also fix missing IUSE in older ebuilds. (M... (diff)
downloadgentoo-2-0c660c58a55ce58349ef02db93fc5275f4747d28.tar.gz
gentoo-2-0c660c58a55ce58349ef02db93fc5275f4747d28.tar.bz2
gentoo-2-0c660c58a55ce58349ef02db93fc5275f4747d28.zip
new ebuild for the ibm-jre
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ibm-jre-bin/ChangeLog9
-rw-r--r--dev-java/ibm-jre-bin/Manifest2
-rw-r--r--dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild53
-rw-r--r--dev-java/ibm-jre-bin/metadata.xml5
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/ibm-jre-bin/ChangeLog b/dev-java/ibm-jre-bin/ChangeLog
new file mode 100644
index 000000000000..27b47214f898
--- /dev/null
+++ b/dev-java/ibm-jre-bin/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/ibm-jre-bin
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.1 2004/05/01 08:21:30 sejo Exp $
+
+*ibm-jre-bin-1.4.1 (01 May 2004)
+
+ 01 May 2004; <SeJo@gentoo.org> +metadata.xml, +ibm-jre-bin-1.4.1.ebuild:
+ new ibm-jre ebuild
+
diff --git a/dev-java/ibm-jre-bin/Manifest b/dev-java/ibm-jre-bin/Manifest
new file mode 100644
index 000000000000..76df06735561
--- /dev/null
+++ b/dev-java/ibm-jre-bin/Manifest
@@ -0,0 +1,2 @@
+MD5 8cc2925b522adc3f7bb696c204b140c1 ibm-jre-bin-1.4.1.ebuild 3231
+MD5 326caa9caaaba43ff9db04da0c8d30eb files/digest-ibm-jre-bin-1.4.1 138
diff --git a/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild
new file mode 100644
index 000000000000..8263bdde6c2a
--- /dev/null
+++ b/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.1.ebuild,v 1.1 2004/05/01 08:21:30 sejo Exp $
+IUSE="doc"
+
+inherit java nsplugins
+
+S="${WORKDIR}/j2sdk${PV}"
+DESCRIPTION="IBM Java Development Kit ${PV}"
+SRC_URI="ppc?(mirror://IBMJava2-JRE-141.ppc.tgz)
+ x86?(mirror://IBMJava2-JRE-141.tgz)"
+PROVIDE="virtual/jre-1.4.1
+ virtual/java-scheme-2"
+SLOT="1.4"
+LICENSE="IBM-J1.4"
+KEYWORDS="~ppc ppc"
+
+
+DEPEND="virtual/glibc
+ >=dev-java/java-config-0.2.5"
+RDEPEND="${DEPEND}"
+
+
+if [ `use ppc` ]; then
+ S=${WORKDIR}/IBMjava2-ppc-141
+else
+ S=${WORKDIR}/IBMJava2-141
+fi;
+
+# No compilation needed!
+src_compile() { :; }
+
+src_install() {
+ # Copy all the files to the designated directory
+ dodir ${D}opt
+ dodir ${D}opt/${P}
+ cp -dpR ${S}/jre/* ${D}opt/${P}/
+
+ dohtml -a html,htm,HTML -r docs
+ dodoc ${S}/docs/COPYRIGHT
+
+ dodir /etc/env.d/java
+ sed \
+ -e "s/@P@/${P}/g" \
+ -e "s/@PV@/${PV}/g" \
+ -e "s/@PF@/${PF}/g" \
+ < ${FILESDIR}/ibm-jre-${PV} \
+ > ${D}/etc/env.d/java/20ibm-jre-${PV}
+}
+src_postinst(){
+ inst_plugin /opt/${P}/bin/javaplugin.so
+ true
+}
diff --git a/dev-java/ibm-jre-bin/metadata.xml b/dev-java/ibm-jre-bin/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/ibm-jre-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>