summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-02-21 04:32:37 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-02-21 04:32:37 +0000
commit025d67b626af39f3a96fc6273b304055bef4fbea (patch)
tree435dc3c19855bfe68e115853eabc08a3bc1e9101
parentadded amd64 keyword. (Manifest recommit) (diff)
downloadgentoo-2-025d67b626af39f3a96fc6273b304055bef4fbea.tar.gz
gentoo-2-025d67b626af39f3a96fc6273b304055bef4fbea.tar.bz2
gentoo-2-025d67b626af39f3a96fc6273b304055bef4fbea.zip
Initial Import.
-rw-r--r--dev-java/blackdown-java3d-re/ChangeLog11
-rw-r--r--dev-java/blackdown-java3d-re/Manifest2
-rw-r--r--dev-java/blackdown-java3d-re/blackdown-java3d-re-1.3.1_beta.ebuild56
-rw-r--r--dev-java/blackdown-java3d-re/metadata.xml5
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/blackdown-java3d-re/ChangeLog b/dev-java/blackdown-java3d-re/ChangeLog
new file mode 100644
index 000000000000..4b359c722dd1
--- /dev/null
+++ b/dev-java/blackdown-java3d-re/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/blackdown-java3d-re
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-java3d-re/ChangeLog,v 1.1 2004/02/21 04:32:36 zx Exp $
+
+*blackdown-java3d-re-1.3.1_beta (20 Feb 2004)
+
+ 20 Feb 2004; Chris Aniszczyk <zx@gentoo.org>
+ blackdown-java3d-re-1.3.1_beta.ebuild:
+ Initial Import.
+ Thanks to Florian Loitsch <f.loitsch@wootsoft.com> for the initial ebuild.
+
diff --git a/dev-java/blackdown-java3d-re/Manifest b/dev-java/blackdown-java3d-re/Manifest
new file mode 100644
index 000000000000..68f892b1371d
--- /dev/null
+++ b/dev-java/blackdown-java3d-re/Manifest
@@ -0,0 +1,2 @@
+MD5 70e35cbcaeabe607e65a3f9bd8886212 blackdown-java3d-re-1.3.1_beta.ebuild 1052
+MD5 6686c7ddb490349e0a3ec825a303e7e7 files/digest-blackdown-java3d-re-1.3.1_beta 81
diff --git a/dev-java/blackdown-java3d-re/blackdown-java3d-re-1.3.1_beta.ebuild b/dev-java/blackdown-java3d-re/blackdown-java3d-re-1.3.1_beta.ebuild
new file mode 100644
index 000000000000..e68ae085bcf7
--- /dev/null
+++ b/dev-java/blackdown-java3d-re/blackdown-java3d-re-1.3.1_beta.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-java3d-re/blackdown-java3d-re-1.3.1_beta.ebuild,v 1.1 2004/02/21 04:32:37 zx Exp $
+
+DESCRIPTION="Java 3D Runtime Environment ${PV}"
+SRC_URI="mirror://blackdown.org/java3d/1.3.1/i386/beta/java3d-re-${PV/_beta/-beta}-linux-i386.bin"
+HOMEPAGE="http://www.blackdown.org"
+LICENSE="sun-bcla-java-vm"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+SLOT="0"
+DEPEND=">=virtual/jre-1.4.1"
+
+S=${WORKDIR}
+
+# Extract the 'skip' value (offset of tarball) we should pass to tail
+get_offset() {
+ [ ! -f "$1" ] && return
+
+ local offset="`gawk '
+ /^[[:space:]]*skip[[:space:]]*=/ {
+
+ sub(/^[[:space:]]*skip[[:space:]]*=/, "")
+ SKIP = $0
+ }
+
+ END { print SKIP }
+ ' $1`"
+
+ eval echo $offset
+}
+
+src_unpack () {
+ local offset="`get_offset ${DISTDIR}/${A}`"
+
+ if [ -z "${offset}" ] ; then
+ eerror "Failed to get offset of tarball!" && die
+ fi
+
+ einfo "Unpacking ${A}..."
+ tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxp
+}
+
+
+src_install () {
+ dodir `java-config -O`/jre
+ cp -a lib ${D}/`java-config -O`/jre/
+}
+
+pkg_postinst() {
+ einfo "Note: This package installs into your currently selected JDK!"
+ einfo "Your currently selected JDK path is:"
+ einfo "\t `java-config -O`"
+ einfo
+ einfo "If this is incorrect, please unmerge this package and set your desired"
+ einfo "JDK with java-config"
+}
diff --git a/dev-java/blackdown-java3d-re/metadata.xml b/dev-java/blackdown-java3d-re/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/blackdown-java3d-re/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>