aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2010-12-07 18:58:18 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2010-12-07 18:58:18 +0300
commit780f12c3fa7017a10056742dab0685f970668c61 (patch)
treee3e8d63ea79e9f8adcaf0f2465e88822969b9c6c /dev-java
parentRemove old. (Portage version: 2.2_rc48/svn/Linux x86_64) (diff)
downloadsci-780f12c3fa7017a10056742dab0685f970668c61.tar.gz
sci-780f12c3fa7017a10056742dab0685f970668c61.tar.bz2
sci-780f12c3fa7017a10056742dab0685f970668c61.zip
Import dev-java/vecmath with history and remanifest
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/vecmath/Manifest5
-rw-r--r--dev-java/vecmath/metadata.xml9
-rw-r--r--dev-java/vecmath/vecmath-1.5.1.ebuild60
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/vecmath/Manifest b/dev-java/vecmath/Manifest
new file mode 100644
index 000000000..8b2af9791
--- /dev/null
+++ b/dev-java/vecmath/Manifest
@@ -0,0 +1,5 @@
+DIST vecmath-1.5.1.tar.bz2 84987 RMD160 1ac06bab39f1ce7653be7311f2260100b781a069 SHA1 717326053d8f295050e517b6457f463b253fa10e SHA256 a279917d9431f920b0061906adca97ff0d0fbbe73699e5abb437fad3402d159d
+DIST vecmath-test-1.5.1.tar.bz2 8460 RMD160 6da2aac17e7df2d383d2ac63da0773b3a84d23d9 SHA1 3dca2cb70a0378cb59825094b0f06afc505a850f SHA256 f34c862d7f4e5164a43c5287afb5afa21aa40cc701ef6b302ead47c082ec29f4
+EBUILD vecmath-1.5.1.ebuild 1533 RMD160 a5b08b50eba07ca9b344429f96add04abd6cc04e SHA1 8482b7de0553c648033c66b3f92f747bfaa477b1 SHA256 d834f1ad43d779155635e2474062202b4d67381706553c92adf33bfa6591e574
+MISC ChangeLog 391 RMD160 1f51213bddecc7c88645fe103e8af37bff37374d SHA1 68d435c0ce93055692b10414cc1879260a0a213f SHA256 215a4c68a28ef21cc161e6190f2737e81cad3b9e221882a6d75e218b851bc0eb
+MISC metadata.xml 243 RMD160 6c48c477f195e12e2e9b8acfaad14a811dcbf0b7 SHA1 0812cdc84ed6bfcf9ec1a747388b5a5eec608e49 SHA256 021547c21cbe1ebb9348bce2beb0f3bb20f0c42514ef860bafc85caf0c4e77ac
diff --git a/dev-java/vecmath/metadata.xml b/dev-java/vecmath/metadata.xml
new file mode 100644
index 000000000..580f341cb
--- /dev/null
+++ b/dev-java/vecmath/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<longdescription lang="en">
+3D vector math package, javax.vecmath
+</longdescription>
+</pkgmetadata>
+
diff --git a/dev-java/vecmath/vecmath-1.5.1.ebuild b/dev-java/vecmath/vecmath-1.5.1.ebuild
new file mode 100644
index 000000000..f449f24c3
--- /dev/null
+++ b/dev-java/vecmath/vecmath-1.5.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# cvs -d :pserver:alistair64@cvs.dev.java.net:/cvs login
+# cvs -d :pserver:alistair64@cvs.dev.java.net:/cvs export -r rel-1_5_1-fcs vecmath
+# tar -cjf vecmath-1.5.1.tar.bz2 vecmath/
+# cvs -d :pserver:alistair64@cvs.dev.java.net:/cvs export -r rel-1_5_1-fcs vecmath-test
+# tar -cjf vecmath-test-1.5.1.tar.bz2 vecmath-test/
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Sun J3D: 3D vector math package"
+HOMEPAGE="https://vecmath.dev.java.net/"
+
+SRC_URI="http://dev.gentoo.org/~ali_bush/distfiles/${P}.tar.bz2
+ test? ( http://dev.gentoo.org/~ali_bush/distfiles/${PN}-test-${PV}.tar.bz2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="|| ( sun-jrl sun-jdl )"
+IUSE=""
+DEPEND=">=virtual/jdk-1.5
+ dev-java/ant-core
+ test? ( =dev-java/junit-4* )"
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}/${PN}"
+S_TEST="${WORKDIR}/${PN}-test"
+
+EANT_DOC_TARGET="docs"
+EANT_BUILD_TARGET="jar"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use test && java-ant_rewrite-classpath "${S_TEST}/build.xml"
+}
+
+src_test() {
+ cd "${S}/../${PN}-test"
+ ANT_TASKS="ant-junit"
+ eant \
+ -Dgentoo.classpath="$(java-pkg_getjar --build-only junit-4 \
+ junit.jar):${S}/build/opt/lib/ext/${PN}.jar" test
+}
+
+src_install() {
+ java-pkg_dojar "build/opt/lib/ext/${PN}.jar"
+
+ use source && java-pkg_dosrc "${S}/src/*"
+
+ dodoc *.txt docs/*.txt
+ if use doc; then
+ java-pkg_dojavadoc "build/javadocs/"
+ dohtml -r *.html
+ fi
+}
+