summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-07-31 14:19:13 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-07-31 14:19:13 +0000
commitd1b526a64b3e4e908be6693102fcdb7f0e529713 (patch)
tree69d689a09639489bf9029a793e59693ff6d981bf /dev-java/sun-java3d-bin
parentVersion bump. closes #56526. (diff)
downloadgentoo-2-d1b526a64b3e4e908be6693102fcdb7f0e529713.tar.gz
gentoo-2-d1b526a64b3e4e908be6693102fcdb7f0e529713.tar.bz2
gentoo-2-d1b526a64b3e4e908be6693102fcdb7f0e529713.zip
move dev-java/sun-java3d dev-java/sun-java3d-bin
Diffstat (limited to 'dev-java/sun-java3d-bin')
-rw-r--r--dev-java/sun-java3d-bin/ChangeLog17
-rw-r--r--dev-java/sun-java3d-bin/files/digest-sun-java3d-bin-1.321
-rw-r--r--dev-java/sun-java3d-bin/metadata.xml5
-rw-r--r--dev-java/sun-java3d-bin/sun-java3d-bin-1.32.ebuild46
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/sun-java3d-bin/ChangeLog b/dev-java/sun-java3d-bin/ChangeLog
new file mode 100644
index 000000000000..e2839c94cb56
--- /dev/null
+++ b/dev-java/sun-java3d-bin/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for dev-java/sun-java3d
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-java3d-bin/ChangeLog,v 1.1 2004/07/31 14:17:50 axxo Exp $
+
+*sun-java3d-bin-1.32 (31 Jul 2004)
+
+ 31 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +sun-java3d-bin-1.32.ebuild:
+ move dev-java/sun-java3d dev-java/sun-java3d-bin
+
+*sun-java3d-1.32 (04 Jul 2004)
+
+ 04 Jul 2004; Chris Aniszczyk <zx@gentoo.org> +metadata.xml,
+ +sun-java3d-1.32.ebuild:
+ Initial Import. Closes #55646.
+ Thanks to Patrick <slaynangel@myrealbox.com> for the initial ebuild.
+
diff --git a/dev-java/sun-java3d-bin/files/digest-sun-java3d-bin-1.32 b/dev-java/sun-java3d-bin/files/digest-sun-java3d-bin-1.32
new file mode 100644
index 000000000000..e526c5388f42
--- /dev/null
+++ b/dev-java/sun-java3d-bin/files/digest-sun-java3d-bin-1.32
@@ -0,0 +1 @@
+MD5 6708e3939e5ec1bb4a294ffaedb63247 java3d-1_3_2-build4-linux-i586.tar.gz 1230611
diff --git a/dev-java/sun-java3d-bin/metadata.xml b/dev-java/sun-java3d-bin/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/sun-java3d-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>
diff --git a/dev-java/sun-java3d-bin/sun-java3d-bin-1.32.ebuild b/dev-java/sun-java3d-bin/sun-java3d-bin-1.32.ebuild
new file mode 100644
index 000000000000..7b33ec7d058a
--- /dev/null
+++ b/dev-java/sun-java3d-bin/sun-java3d-bin-1.32.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-java3d-bin/sun-java3d-bin-1.32.ebuild,v 1.1 2004/07/31 14:17:50 axxo Exp $
+
+MY_P="java3d-1_3_2-build4-linux-i586"
+DESCRIPTION="Sun Java3D"
+HOMEPAGE="https://j3d-core.dev.java.net/"
+SRC_URI="https://j3d-core.dev.java.net/files/documents/1674/5613/${MY_P}.tar.gz"
+KEYWORDS="~x86"
+SLOT="0"
+LICENSE="sun-jrl sun-jdl"
+IUSE=""
+DEPEND=">=virtual/jdk-1.3
+ dev-java/java-config"
+RDEPEND=">=virtual/jdk-1.3"
+RESTRICT="nomirror"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_nofetch() {
+ einfo "Please download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ jar xvf j3d-132-build4-linux-x86.jar
+}
+
+src_install() {
+ start=${D}
+ jre=""
+ java_home="$(java-config --jdk-home)"
+ if [ ! -z "${java_home}" ]; then
+ jre="jre/"
+ else
+ java_home="$(java-config --jre-home)"
+ if [ -z ${java_home} ]; then
+ die "You must have a JVM selected in order to install Java3d"
+ fi
+ fi
+ einfo "Installing Java3D into current JAVA home: ${java_home}"
+ dodir ${java_home}/${jre}
+ cp -a lib ${D}/${java_home}/${jre}
+ dodoc COPYRIGHT.txt README.txt
+}