diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-08-10 23:32:31 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-08-10 23:32:31 +0000 |
commit | 463a3488690b78ea01878654e0b094148f531826 (patch) | |
tree | 7bc27101e7303934c6d27bcb1cdc5cf88f3d2bd9 /dev-java/jcommander | |
parent | clean up (diff) | |
download | gentoo-2-463a3488690b78ea01878654e0b094148f531826.tar.gz gentoo-2-463a3488690b78ea01878654e0b094148f531826.tar.bz2 gentoo-2-463a3488690b78ea01878654e0b094148f531826.zip |
Initial import of jcommander required for jmx2munin.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jcommander')
-rw-r--r-- | dev-java/jcommander/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jcommander/jcommander-1.29.ebuild | 50 | ||||
-rw-r--r-- | dev-java/jcommander/metadata.xml | 8 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/jcommander/ChangeLog b/dev-java/jcommander/ChangeLog new file mode 100644 index 000000000000..5c8c1b35a05b --- /dev/null +++ b/dev-java/jcommander/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/jcommander +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommander/ChangeLog,v 1.1 2012/08/10 23:32:31 flameeyes Exp $ + +*jcommander-1.29 (10 Aug 2012) + + 10 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> +jcommander-1.29.ebuild, + +metadata.xml: + Initial import of jcommander required for jmx2munin. diff --git a/dev-java/jcommander/jcommander-1.29.ebuild b/dev-java/jcommander/jcommander-1.29.ebuild new file mode 100644 index 000000000000..61ad88c34667 --- /dev/null +++ b/dev-java/jcommander/jcommander-1.29.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommander/jcommander-1.29.ebuild,v 1.1 2012/08/10 23:32:31 flameeyes Exp $ + +EAPI=4 + +inherit eutils java-pkg-2 java-pkg-simple + +GITHUB_USER="cbeust" + +DESCRIPTION="Command line parsing framework for Java" +HOMEPAGE="https://github.com/cbeust/jcommander" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${P} -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# test? ( dev-java/testng ) +DEPEND="${CDEPEND} + >=virtual/jdk-1.6" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.6" + +JAVA_SRC_DIR="src/main" + +S="${WORKDIR}"/${P} + +# until testng is in main tree +RESTRICT=test + +src_unpack() { + unpack ${A} + mv ${GITHUB_USER}-${PN}-* ${P} || die + rm "${P}"/pom.xml || die +} + +src_test() { + JAVA_SRC_DIR="src/test" \ + JAVA_CLASSPATH_EXTRA="${PN}.jar" \ + PN="${PN}-test" \ + java-pkg-simple_src_compile +} + +src_install() { + java-pkg-simple_src_install + dodoc README.markdown CHANGELOG +} diff --git a/dev-java/jcommander/metadata.xml b/dev-java/jcommander/metadata.xml new file mode 100644 index 000000000000..6465e5af2184 --- /dev/null +++ b/dev-java/jcommander/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> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> +</pkgmetadata> |