From 025d67b626af39f3a96fc6273b304055bef4fbea Mon Sep 17 00:00:00 2001 From: Chris Aniszczyk Date: Sat, 21 Feb 2004 04:32:37 +0000 Subject: Initial Import. --- dev-java/blackdown-java3d-re/ChangeLog | 11 +++++ dev-java/blackdown-java3d-re/Manifest | 2 + .../blackdown-java3d-re-1.3.1_beta.ebuild | 56 ++++++++++++++++++++++ dev-java/blackdown-java3d-re/metadata.xml | 5 ++ 4 files changed, 74 insertions(+) create mode 100644 dev-java/blackdown-java3d-re/ChangeLog create mode 100644 dev-java/blackdown-java3d-re/Manifest create mode 100644 dev-java/blackdown-java3d-re/blackdown-java3d-re-1.3.1_beta.ebuild create mode 100644 dev-java/blackdown-java3d-re/metadata.xml 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 + blackdown-java3d-re-1.3.1_beta.ebuild: + Initial Import. + Thanks to Florian Loitsch 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 @@ + + + +java + -- cgit v1.2.3-65-gdbad