diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2009-07-06 10:04:21 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2009-07-06 10:04:21 +0000 |
commit | 95934d84e949dfe7998ade33387e06bcfabcb002 (patch) | |
tree | e5accd13fcd462c8044d3a21174f0b934da8c9df /dev-java/jung | |
parent | Version bump, adds option to disable history, shows users away and idle, fix ... (diff) | |
download | gentoo-2-95934d84e949dfe7998ade33387e06bcfabcb002.tar.gz gentoo-2-95934d84e949dfe7998ade33387e06bcfabcb002.tar.bz2 gentoo-2-95934d84e949dfe7998ade33387e06bcfabcb002.zip |
Add package to main tree.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jung')
-rw-r--r-- | dev-java/jung/ChangeLog | 14 | ||||
-rw-r--r-- | dev-java/jung/files/jung-1.7.6-build.xml.patch | 20 | ||||
-rw-r--r-- | dev-java/jung/jung-1.7.6.ebuild | 53 | ||||
-rw-r--r-- | dev-java/jung/metadata.xml | 15 |
4 files changed, 102 insertions, 0 deletions
diff --git a/dev-java/jung/ChangeLog b/dev-java/jung/ChangeLog new file mode 100644 index 000000000000..65cee5cde6bb --- /dev/null +++ b/dev-java/jung/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-java/jung +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jung/ChangeLog,v 1.1 2009/07/06 10:04:20 ali_bush Exp $ + + 06 Jul 2009; Alistair Bush <ali_bush@gentoo.org> +jung-1.7.6.ebuild, + +files/jung-1.7.6-build.xml.patch, +metadata.xml: + Keyword ~x86 and move from java-overlay + +*jung-1.7.6 (24 May 2009) + + 24 May 2009; Alistair Bush <ali_bush@gentoo.org> +jung-1.7.6.ebuild, + +files/jung-1.7.6-build.xml.patch, +metadata.xml: + New Package + diff --git a/dev-java/jung/files/jung-1.7.6-build.xml.patch b/dev-java/jung/files/jung-1.7.6-build.xml.patch new file mode 100644 index 000000000000..1ddf38597d6f --- /dev/null +++ b/dev-java/jung/files/jung-1.7.6-build.xml.patch @@ -0,0 +1,20 @@ +--- build.xml 2009-05-24 12:12:51.007684864 +1200 ++++ build.xml 2009-05-24 12:39:01.796913330 +1200 +@@ -83,7 +83,7 @@ + </fileset> + </path> + +- <taskdef classpathref="jcoverage" resource="tasks.properties"/> ++ <!--<taskdef classpathref="jcoverage" resource="tasks.properties"/>--> + + <target name="clean" description="clean up build artefacts" unless="cleaned"> + <delete quiet="true"> +@@ -157,7 +157,7 @@ + the instrumented classes reference classes used by the + jcoverage runtime. + --> +- <classpath refid="jcoverage"/> ++ <!--<classpath refid="jcoverage"/>--> + <classpath refid="alljars"/> + <!-- <formatter type="brief" usefile="false"/> --> + <formatter type="xml"/> diff --git a/dev-java/jung/jung-1.7.6.ebuild b/dev-java/jung/jung-1.7.6.ebuild new file mode 100644 index 000000000000..e7107a7f4d6f --- /dev/null +++ b/dev-java/jung/jung-1.7.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jung/jung-1.7.6.ebuild,v 1.1 2009/07/06 10:04:20 ali_bush Exp $ + +JAVA_PKG_IUSE="doc source" +EAPI="2" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="The Java Universal Network/Graph Framework" +HOMEPAGE="http://jung.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +COMMON_DEP="dev-java/colt:0 + dev-java/commons-collections" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + dev-java/junit:0 + app-arch/unzip + ${COMMON_DEP}" + +PATCHES=( "${FILESDIR}/${P}-build.xml.patch" ) + +S="${WORKDIR}/src" + +java_prepare() { + epatch ${PATCHES} + rm -R doc/* + find "${WORKDIR}" -iname '*.jar' -delete + find "${WORKDIR}" -iname '*.class' -delete + java-pkg_jar-from --into ../lib colt + java-pkg_jar-from --into ../lib commons-collections + java-pkg_jar-from --build-only --into ../lib junit +} + +src_compile() { + eant -Djardir="../lib" jar $(use_doc) +} + +src_install() { + java-pkg_newjar "${P}.jar" + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc edu +} + diff --git a/dev-java/jung/metadata.xml b/dev-java/jung/metadata.xml new file mode 100644 index 000000000000..cfb43a6c3585 --- /dev/null +++ b/dev-java/jung/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>ali_bush@gentoo.org</email> + <name>Alistair Bush</name> + </maintainer> + <longdescription lang="en"> + A software library that provides a common and extendible language for + the modeling, analysis, and visualization of data that can be + represented as a graph or network. + </longdescription> +</pkgmetadata> + |