diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-11-11 22:53:23 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-11-11 22:54:33 +0000 |
commit | cc0ccf346c7efd8f7e06e747722519c1812be25b (patch) | |
tree | afbe27d27152736779d73056fb15f3b468cf96e1 /dev-java/rat/rat-0.11.ebuild | |
parent | dev-java/xml-xmlbeans: Add a patch to get compilation to work with Java 8. (diff) | |
download | gentoo-cc0ccf346c7efd8f7e06e747722519c1812be25b.tar.gz gentoo-cc0ccf346c7efd8f7e06e747722519c1812be25b.tar.bz2 gentoo-cc0ccf346c7efd8f7e06e747722519c1812be25b.zip |
dev-java/rat: Initial import.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/rat/rat-0.11.ebuild')
-rw-r--r-- | dev-java/rat/rat-0.11.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-java/rat/rat-0.11.ebuild b/dev-java/rat/rat-0.11.ebuild new file mode 100644 index 000000000000..aa139dfd4eb0 --- /dev/null +++ b/dev-java/rat/rat-0.11.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +MY_PN="apache-${PN}" + +DESCRIPTION="Apache Rat is a release audit tool, focused on licenses." +HOMEPAGE="https://creadur.apache.org/rat/" + +SRC_URI=" + https://repo1.maven.org/maven2/org/apache/${PN}/${MY_PN}-core/${PV}/${MY_PN}-core-${PV}-sources.jar + https://repo1.maven.org/maven2/org/apache/${PN}/${MY_PN}-tasks/${PV}/${MY_PN}-tasks-${PV}-sources.jar" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND=" + dev-java/ant-core:0 + dev-java/commons-io:1 + dev-java/commons-cli:1 + dev-java/commons-lang:2.1 + dev-java/commons-compress:0 + dev-java/commons-collections:0 +" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + app-arch/unzip + >=virtual/jdk-1.6" + +JAVA_GENTOO_CLASSPATH=" + ant-core + commons-io-1 + commons-cli-1 + commons-compress + commons-lang-2.1 + commons-collections +" + +src_install() { + java-pkg_dolauncher "${MY_PN}" --main org.apache.rat.Report + java-pkg-simple_src_install +} |