mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-09 01:48:07 -07:00
Closes: https://bugs.gentoo.org/914568 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
30 lines
635 B
Bash
30 lines
635 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit java-pkg-2
|
|
|
|
DESCRIPTION="Release audit tool, focused on licenses"
|
|
HOMEPAGE="https://creadur.apache.org/rat/"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
RDEPEND="
|
|
~dev-java/apache-rat-core-${PV}:0
|
|
~dev-java/apache-rat-tasks-${PV}:0
|
|
>=virtual/jre-1.8:*
|
|
"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
default
|
|
java-pkg_register-dependency apache-rat-core,apache-rat-tasks
|
|
java-pkg_dolauncher "${PN}" --jar $(java-pkg_getjar apache-rat-core apache-rat-core.jar) --main org.apache.rat.Report
|
|
}
|