diff options
Diffstat (limited to 'dev-java/touchgraph-graphlayout')
-rw-r--r-- | dev-java/touchgraph-graphlayout/Manifest | 1 | ||||
-rw-r--r-- | dev-java/touchgraph-graphlayout/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/touchgraph-graphlayout/touchgraph-graphlayout-1.22.ebuild | 33 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-java/touchgraph-graphlayout/Manifest b/dev-java/touchgraph-graphlayout/Manifest new file mode 100644 index 000000000000..cdb670712cec --- /dev/null +++ b/dev-java/touchgraph-graphlayout/Manifest @@ -0,0 +1 @@ +DIST TGGL_122_jre11.zip 202777 SHA256 52651209d131f6c012a4a5735271a8f9e572d8fbbece44b643680d725da9c853 SHA512 5c638972264ada2cb91ea1667c0b770629120a01496f7834ef3e4999ad5867ff911e772ea1361e33c168d8681c6f19f46ada33ea637daf4474f66a5cc97610a5 WHIRLPOOL 89180950669d0840af937e983b56a06e58eae6105e70cfb58ae9f11e18efa18981d1e40226536612b25031dfa2c44f65b30dfee8f30083bb2226b59aed4f3957 diff --git a/dev-java/touchgraph-graphlayout/metadata.xml b/dev-java/touchgraph-graphlayout/metadata.xml new file mode 100644 index 000000000000..ef50d3af37e1 --- /dev/null +++ b/dev-java/touchgraph-graphlayout/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <upstream> + <remote-id type="sourceforge">touchgraph</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-java/touchgraph-graphlayout/touchgraph-graphlayout-1.22.ebuild b/dev-java/touchgraph-graphlayout/touchgraph-graphlayout-1.22.ebuild new file mode 100644 index 000000000000..eda9479ab357 --- /dev/null +++ b/dev-java/touchgraph-graphlayout/touchgraph-graphlayout-1.22.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +MY_PN="TGGraphLayout" +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 + +DESCRIPTION="TouchGraph provides a set of interfaces for graph visualization" +HOMEPAGE="http://touchgraph.sourceforge.net" +SRC_URI="mirror://sourceforge/touchgraph/TGGL_${PV//./}_jre11.zip" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_PN}" + +src_compile() { + mkdir -p bin || die + ejavac -d bin `find com -name "*.java" || die` + `java-config -j` cvf ${MY_PN}.jar -C bin . || die +} + +src_install() { + java-pkg_newjar ${MY_PN}.jar + dodoc "TGGL ReleaseNotes.txt" || die + use source && java-pkg_dosrc com +} |