Migrating to generation 2 java build system
authorAlistair Bush <ali_bush@gentoo.org>
Tue, 24 Apr 2007 21:20:57 +0000 (21:20 +0000)
committerAlistair Bush <ali_bush@gentoo.org>
Tue, 24 Apr 2007 21:20:57 +0000 (21:20 +0000)
Package-Manager: portage-2.1.2.4

dev-java/blackdown-java3d-bin/ChangeLog
dev-java/blackdown-java3d-bin/Manifest
dev-java/blackdown-java3d-bin/blackdown-java3d-bin-1.3.1-r2.ebuild [new file with mode: 0644]
dev-java/blackdown-java3d-bin/files/digest-blackdown-java3d-bin-1.3.1-r2 [new file with mode: 0644]

index 19de87088afa8f314ed62fd3a35a9679cfe93522..690943eb33bdcf10b0d6d223f7765f105f59ed31 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/blackdown-java3d-bin
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-java3d-bin/ChangeLog,v 1.9 2007/02/21 23:28:58 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-java3d-bin/ChangeLog,v 1.10 2007/04/24 21:20:57 ali_bush Exp $
+
+*blackdown-java3d-bin-1.3.1-r2 (24 Apr 2007)
+
+  24 Apr 2007; Alistair John Bush <ali_bush@gentoo.org>
+  +blackdown-java3d-bin-1.3.1-r2.ebuild:
+  Migrated to generation 2 Java build system.
 
   21 Feb 2007; Piotr JaroszyƄski <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 409af0657f82796e171f2fad1030e0de1243cfd1..9990285fb5086df538f7d861cd3d13015fb88614 100644 (file)
@@ -4,10 +4,14 @@ EBUILD blackdown-java3d-bin-1.3.1-r1.ebuild 1758 RMD160 c9f7b20b92df0e76e30bfae5
 MD5 cfc87bc375b2781d586132986c47c825 blackdown-java3d-bin-1.3.1-r1.ebuild 1758
 RMD160 c9f7b20b92df0e76e30bfae56723a21c2d53ab74 blackdown-java3d-bin-1.3.1-r1.ebuild 1758
 SHA256 ca5081b1b8683aaa8a4b717715a3125ba4e1b6a9cc2a304b8d35ed955d90cd7f blackdown-java3d-bin-1.3.1-r1.ebuild 1758
-MISC ChangeLog 2142 RMD160 00f93532797248082c7dd020fd86ce8c3b06e90d SHA1 43dd4e62d5c7fa5be6f3a46b05344a4dace9a2f7 SHA256 cb35859795bfbcabd089ab14bca3c55e6a7677481e95d422130be06801dfa9a5
-MD5 64dc77d9b3321640b5c5e85105f520da ChangeLog 2142
-RMD160 00f93532797248082c7dd020fd86ce8c3b06e90d ChangeLog 2142
-SHA256 cb35859795bfbcabd089ab14bca3c55e6a7677481e95d422130be06801dfa9a5 ChangeLog 2142
+EBUILD blackdown-java3d-bin-1.3.1-r2.ebuild 1765 RMD160 2ec1121078a237a1b83af0b067e5fe7b97c45ea7 SHA1 267ef9429e1e93adc42e50c25a1595082ac985c0 SHA256 139480b85a8e175ec6d70a87fff63582959e266f109ebf95a2585118a671ea3b
+MD5 07f9da9171352e7eb8698622d7157a88 blackdown-java3d-bin-1.3.1-r2.ebuild 1765
+RMD160 2ec1121078a237a1b83af0b067e5fe7b97c45ea7 blackdown-java3d-bin-1.3.1-r2.ebuild 1765
+SHA256 139480b85a8e175ec6d70a87fff63582959e266f109ebf95a2585118a671ea3b blackdown-java3d-bin-1.3.1-r2.ebuild 1765
+MISC ChangeLog 2336 RMD160 6dccab57d3a3855d6c404a83a6e8bbe609675ed3 SHA1 236e65108a9e6707c5e6989d96e0d5272f403eae SHA256 b9ab71596edd2d0856ab033d2881b923bbac7ea95abc5f6b647851b6c1911c60
+MD5 dd06301e0b71b430728a5ece251485dc ChangeLog 2336
+RMD160 6dccab57d3a3855d6c404a83a6e8bbe609675ed3 ChangeLog 2336
+SHA256 b9ab71596edd2d0856ab033d2881b923bbac7ea95abc5f6b647851b6c1911c60 ChangeLog 2336
 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -15,3 +19,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata
 MD5 91cd45ecf0bf21dfe421d3b571a0e046 files/digest-blackdown-java3d-bin-1.3.1-r1 557
 RMD160 b57b9ed2da257a54b3e4fc8bdb6ffad4a36a7e22 files/digest-blackdown-java3d-bin-1.3.1-r1 557
 SHA256 2df50ddc3392b151ade5cec5bf6c4ce3f05609d750997f76a94a540a46ae97d9 files/digest-blackdown-java3d-bin-1.3.1-r1 557
+MD5 91cd45ecf0bf21dfe421d3b571a0e046 files/digest-blackdown-java3d-bin-1.3.1-r2 557
+RMD160 b57b9ed2da257a54b3e4fc8bdb6ffad4a36a7e22 files/digest-blackdown-java3d-bin-1.3.1-r2 557
+SHA256 2df50ddc3392b151ade5cec5bf6c4ce3f05609d750997f76a94a540a46ae97d9 files/digest-blackdown-java3d-bin-1.3.1-r2 557
diff --git a/dev-java/blackdown-java3d-bin/blackdown-java3d-bin-1.3.1-r2.ebuild b/dev-java/blackdown-java3d-bin/blackdown-java3d-bin-1.3.1-r2.ebuild
new file mode 100644 (file)
index 0000000..e42a9dc
--- /dev/null
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-java3d-bin/blackdown-java3d-bin-1.3.1-r2.ebuild,v 1.1 2007/04/24 21:20:57 ali_bush Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="Java 3D Software Development Kit"
+SRC_URI="x86? ( mirror://blackdown.org/java3d/1.3.1/i386/fcs/java3d-sdk-${PV}-linux-i386.bin )
+       amd64? ( mirror://blackdown.org/java3d/1.3.1/amd64/fcs/java3d-sdk-${PV}-linux-amd64.bin )"
+HOMEPAGE="http://www.blackdown.org"
+LICENSE="sun-bcla-java-vm"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+DEPEND=">=virtual/jdk-1.4.1
+       >=dev-java/java-config-1.2.6"
+RDEPEND=">=virtual/jre-1.4"
+IUSE="doc"
+
+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() {
+       dodoc README-Java3D
+
+       if use doc; then
+               insinto /usr/share/doc/${PF}
+               doins -r demo /usr/share/doc/${PF}
+       fi
+
+       java-pkg_dojar jre/lib/ext/*.jar
+       use x86 && arch="i386"
+       use amd64 && arch="amd64"
+
+       cd jre/lib/${arch}/
+       java-pkg_sointo /opt/${PN}/lib/
+       java-pkg_doso *.so
+}
+
+pkg_postinst() {
+       elog "This ebuild now installs into /opt/${PN} and /usr/share/${PN}"
+       elog "To use you need to pass the following to java:"
+       elog "-Djava.library.path=\$(java-config -i ${PN}) -cp \$(java-config -p ${PN})"
+}
diff --git a/dev-java/blackdown-java3d-bin/files/digest-blackdown-java3d-bin-1.3.1-r2 b/dev-java/blackdown-java3d-bin/files/digest-blackdown-java3d-bin-1.3.1-r2
new file mode 100644 (file)
index 0000000..3889da2
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 aa536f560465b63363b65a50ef1dec20 java3d-sdk-1.3.1-linux-amd64.bin 5016800
+RMD160 bbee5e107622ae746a6a271d083cb5e9437d6191 java3d-sdk-1.3.1-linux-amd64.bin 5016800
+SHA256 e978a553ad05e7491b2a3c990072c5600816ceed798b704892959f9044ad7ae1 java3d-sdk-1.3.1-linux-amd64.bin 5016800
+MD5 749cf195dbb7d214373821aae276c58b java3d-sdk-1.3.1-linux-i386.bin 5101646
+RMD160 37de2e0de391e903f305216b7fcaf854e0326fcb java3d-sdk-1.3.1-linux-i386.bin 5101646
+SHA256 98dfd8d903a7b7003c80668bf0d881266f77fb1195d381be7c3fce4cf13bef9d java3d-sdk-1.3.1-linux-i386.bin 5101646