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/jgraph | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jgraph')
-rw-r--r-- | dev-java/jgraph/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jgraph/jgraph-5.12.0.4.ebuild | 47 | ||||
-rw-r--r-- | dev-java/jgraph/metadata.xml | 11 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/jgraph/Manifest b/dev-java/jgraph/Manifest new file mode 100644 index 000000000000..2d0fb37f3b8a --- /dev/null +++ b/dev-java/jgraph/Manifest @@ -0,0 +1,3 @@ +DIST jgraph-5.12.0.4-lgpl-src.jar 3460750 BLAKE2B 0d2c50673eb652e4335a2d4fe9edcd93745595302c9ce674e8bb05ceab5edcb6b4a190e4d4da14bdb552ca7d35421473d0931addb02c2d1326d81eb442c372d1 SHA512 0832afeb28c4d5abb9288de4e1b74eefc432bb98f622e71f0d192bf9f01741feb406ba0473b923e0cb93401120c1456a00eec4653355c37bff7e9e1863e81b5d +EBUILD jgraph-5.12.0.4.ebuild 996 BLAKE2B d8b8587dfd1b4a81b274494351887cad8471eabfc41339b0ae32f96e0a910d488d58c83da76b08e356fa42fc9a2fffcc9358453c5abd0c2c34cfc6c94febd3dd SHA512 84f4bacaf5e8bebd32e09d213da2d43174581307fbc63f41737165d7d4043ad2e88f1729f4676a11642fd60aaca9bfc3f10eb215e644738bdaa924968418ce47 +MISC metadata.xml 312 BLAKE2B 4226249366dff5db47d56cbdba95d9a07bd19347720d5990adf17d24a3fec0dae9a133fd44f9ebc4990b21b8c1cc5ee959b2ba8f3421fb2bef779487243504a1 SHA512 270716861776916f2d7a6ab6671b6dcf220ce6b3cce5397b3994c19f83a91c110a5eb3a783ba6277d098b6382481d98cc610397c836e4a9166d857db92da0b56 diff --git a/dev-java/jgraph/jgraph-5.12.0.4.ebuild b/dev-java/jgraph/jgraph-5.12.0.4.ebuild new file mode 100644 index 000000000000..fdd3e3ec6688 --- /dev/null +++ b/dev-java/jgraph/jgraph-5.12.0.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Open-source graph component for Java" +SRC_URI="mirror://sourceforge/${PN}/${P}-lgpl-src.jar" +HOMEPAGE="https://www.jgraph.com" +IUSE="doc examples source" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip" +RDEPEND=">=virtual/jre-1.4" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" + +JAVA_PKG_FILTER_COMPILER="jikes" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + rm -v *.class || die + + # don't do javadoc always + sed -i -e 's/depends="compile, doc"/depends="compile"/' build.xml || \ + die "sed failed" + + rm -rf doc/api || die + rm lib/jgraph.jar || die +} + +EANT_DOC_TARGET="apidoc" + +src_install() { + java-pkg_dojar build/lib/${PN}.jar + + dodoc README WHATSNEW ChangeLog || die + use doc && java-pkg_dojavadoc build/doc/api + use source && java-pkg_dosrc src/org + use examples && java-pkg_doexamples examples +} diff --git a/dev-java/jgraph/metadata.xml b/dev-java/jgraph/metadata.xml new file mode 100644 index 000000000000..6770432d3010 --- /dev/null +++ b/dev-java/jgraph/metadata.xml @@ -0,0 +1,11 @@ +<?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="sourceforge">jgraph</remote-id> + </upstream> +</pkgmetadata> |