diff options
Diffstat (limited to 'dev-java/vecmath')
-rw-r--r-- | dev-java/vecmath/Manifest | 3 | ||||
-rw-r--r-- | dev-java/vecmath/metadata.xml | 14 | ||||
-rw-r--r-- | dev-java/vecmath/vecmath-1.6.0_pre12.ebuild | 39 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/vecmath/Manifest b/dev-java/vecmath/Manifest new file mode 100644 index 000000000000..57c27a809274 --- /dev/null +++ b/dev-java/vecmath/Manifest @@ -0,0 +1,3 @@ +DIST vecmath-1.6.0_pre12.tar.gz 121968 BLAKE2B d93e159a5d235ebf3724880ba19195466955844272e6ebcd4f59061967305e2bc63bef21d651aab3f8998358816602ea529b7d25f71a9b030e74594ee3a983b5 SHA512 b885a83b91af7c3560e7f8e94d7a8da3b00ad7db4a0f2edef19c1525fe7ae48e897d865ef2bb64800bde197bc9c969517c9c526d6ed27d25cfe87815a64bc5d7 +EBUILD vecmath-1.6.0_pre12.ebuild 804 BLAKE2B 41322635fd87a0ddb313010052ef7ed0ed26c713dc1b4e60ecd6d00bd14a6672e724450a954f439e38df8f0fa9ad96c5c0ce88ca910d9f6ff776b7b01739ec83 SHA512 da7f20c953d40b1ee5920132823cbd657712e99cf814e017c685de5a48e6220b30ba81064738ecd84df67a2f5bc01c7af0a854879eff68a5021e303b63f92ee1 +MISC metadata.xml 405 BLAKE2B 3f8eb80b854cf3b3f8de935d3c27ed68ac216ec6de9d353e6803984ba7233b0cf7294dc5ea7abbfc0ab4fa10a6dd5a3c8630198a8225df51988264eb5377a3d8 SHA512 a133b08ff3f6125ba1f3b7bae14f62b9615f1588a54a9c9d44f4c6598616766d7e54610e616f0d2687aa3e6cb36ebaf924a6b3acc1f73c66aff5f7cb7c176ead diff --git a/dev-java/vecmath/metadata.xml b/dev-java/vecmath/metadata.xml new file mode 100644 index 000000000000..fc75a8b361f3 --- /dev/null +++ b/dev-java/vecmath/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription lang="en"> + 3D vector math package, javax.vecmath +</longdescription> + <upstream> + <remote-id type="github">hharrison/vecmath</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/vecmath/vecmath-1.6.0_pre12.ebuild b/dev-java/vecmath/vecmath-1.6.0_pre12.ebuild new file mode 100644 index 000000000000..a6cfc8778ec7 --- /dev/null +++ b/dev-java/vecmath/vecmath-1.6.0_pre12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Sun J3D: 3D vector math package" +HOMEPAGE="https://vecmath.dev.java.net/" + +MY_PV=$(replace_version_separator 3 '-') +SRC_URI="https://github.com/hharrison/vecmath/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.6 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${PN}-${MY_PV}" + +EANT_DOC_TARGET="docs" +EANT_BUILD_TARGET="jar" + +src_install() { + java-pkg_dojar "build/jars/${PN}.jar" + + use source && java-pkg_dosrc "${S}/src/*" + + dodoc *.txt docs/*.txt + if use doc; then + java-pkg_dojavadoc "build/javadoc/" + dohtml -r *.html + fi +} |