summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-07-04 18:30:40 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-07-04 18:30:40 +0000
commit7c7386e4032936fa116ac14b9736d4234e3615ff (patch)
tree9e763cf8d5c857dfdc9f8e302203258daa1b322f /dev-java
parentnew license (diff)
downloadgentoo-2-7c7386e4032936fa116ac14b9736d4234e3615ff.tar.gz
gentoo-2-7c7386e4032936fa116ac14b9736d4234e3615ff.tar.bz2
gentoo-2-7c7386e4032936fa116ac14b9736d4234e3615ff.zip
Initial Import. Closes #55646
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sun-java3d/ChangeLog11
-rw-r--r--dev-java/sun-java3d/Manifest2
-rw-r--r--dev-java/sun-java3d/metadata.xml5
-rw-r--r--dev-java/sun-java3d/sun-java3d-1.32.ebuild46
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/sun-java3d/ChangeLog b/dev-java/sun-java3d/ChangeLog
new file mode 100644
index 000000000000..fed6588c16b0
--- /dev/null
+++ b/dev-java/sun-java3d/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/sun-java3d
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-java3d/ChangeLog,v 1.1 2004/07/04 18:30:40 zx Exp $
+
+*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/Manifest b/dev-java/sun-java3d/Manifest
new file mode 100644
index 000000000000..7bda0ebb5787
--- /dev/null
+++ b/dev-java/sun-java3d/Manifest
@@ -0,0 +1,2 @@
+MD5 4faf78f095194e3592d0eee902dfff55 sun-java3d-1.32.ebuild 2153
+MD5 e9a77f485dbe8f673a6649caa618b675 files/digest-sun-java3d-1.32 83
diff --git a/dev-java/sun-java3d/metadata.xml b/dev-java/sun-java3d/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/sun-java3d/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/sun-java3d-1.32.ebuild b/dev-java/sun-java3d/sun-java3d-1.32.ebuild
new file mode 100644
index 000000000000..4e6cfd886caa
--- /dev/null
+++ b/dev-java/sun-java3d/sun-java3d-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/sun-java3d-1.32.ebuild,v 1.1 2004/07/04 18:30:40 zx 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
+}