diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/matrix-toolkits-java | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/matrix-toolkits-java')
-rw-r--r-- | dev-java/matrix-toolkits-java/Manifest | 3 | ||||
-rw-r--r-- | dev-java/matrix-toolkits-java/matrix-toolkits-java-0.9.12.ebuild | 54 | ||||
-rw-r--r-- | dev-java/matrix-toolkits-java/metadata.xml | 12 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/matrix-toolkits-java/Manifest b/dev-java/matrix-toolkits-java/Manifest new file mode 100644 index 000000000000..989a38c3dafa --- /dev/null +++ b/dev-java/matrix-toolkits-java/Manifest @@ -0,0 +1,3 @@ +DIST mtj-0.9.12.zip 2576775 BLAKE2B 6325ec4286ba3c103439488f7bc58f0acc70d1df71cf1adc61f99715f8a653ca5198ec0ddb3a24c890bc696143e4b7f61ff38b26c0c81144cadcc63f166c5ea8 SHA512 526793d02d1a5ff7e8b9a2fb1c8fa570a88f96fcb4926623bae6cfdc31f206dc6103efa4e14a29f7b600ed2e1eba516f12c8da7e749983dd6f75a1a4c6676f4d +EBUILD matrix-toolkits-java-0.9.12.ebuild 1158 BLAKE2B 3bb357e6da68f36277e3214241594bbc0db0560873e2bb3f647e795cbce716f2bca372cbaacf3e3f6f2452c6eccbab2d6d42aa87d24c2aff28fa07b35b12cb64 SHA512 c5926c67e2774c3bd2a07147ffefe68389937ec1ec25559e59a9817d6fd0d012735e0e310791fcb5494ab071de841468c266815b49ae5ecc17ec7aa4ef854c22 +MISC metadata.xml 405 BLAKE2B bb9879b01eac45a76e9b5a3a2ff077f8b66b296dbb649a6a5dbe4914a9586c64e81dcb85113b474d54bf26f75ebfbf99c40f4d3718d9cbe1658f2faa47a992d0 SHA512 6f4bcbfe1ce195a54a8a9f8d51e02ee26b65a2b1b1391bfe6ae80b519728825d48621510881279d5b09587fdd72d8949fc806d1df55933eccef86f5ad02b176a diff --git a/dev-java/matrix-toolkits-java/matrix-toolkits-java-0.9.12.ebuild b/dev-java/matrix-toolkits-java/matrix-toolkits-java-0.9.12.ebuild new file mode 100644 index 000000000000..1638f937a9fb --- /dev/null +++ b/dev-java/matrix-toolkits-java/matrix-toolkits-java-0.9.12.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +JAVA_PKG_IUSE="doc test" +#WANT_ANT_TASKS="ant-junit" +EANT_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="BLAS and LAPACK-derived matrix data structures and linear algebra methods" +HOMEPAGE="https://github.com/fommil/matrix-toolkits-java" +SRC_URI="https://matrix-toolkits-java.googlecode.com/files/mtj-${PV}.zip" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPS="" +DEPEND=" + dev-java/junit:0 + >=virtual/jdk-1.5 + ${COMMON_DEPS}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEPS}" + +S="${WORKDIR}/mtj-${PV}" + +src_prepare() { + einfo "Removing bundled jars..." + cd "${S}/lib/junit" + rm -v junit*.jar + java-pkg_jar-from junit + cd "${S}" + rm -v mtj*.jar + java-pkg-2_src_prepare +} + +src_compile() { + eant jar -Dplatforms.JDK_1.5.home="${JAVA_HOME}" +} + +src_install() { + java-pkg_newjar dist/Matrix_Toolkits_for_Java.jar ${PN}.jar + use doc && java-pkg_dojavadoc javadoc +} + +# FIXME: Test suite compilation fails +#src_test() { +# eant test -Dplatforms.JDK_1.5.home="${JAVA_HOME}" +#} diff --git a/dev-java/matrix-toolkits-java/metadata.xml b/dev-java/matrix-toolkits-java/metadata.xml new file mode 100644 index 000000000000..f67cb7be8e25 --- /dev/null +++ b/dev-java/matrix-toolkits-java/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="google-code">matrix-toolkits-java</remote-id> + <remote-id type="github">fommil/matrix-toolkits-java</remote-id> + </upstream> +</pkgmetadata> |