summaryrefslogtreecommitdiff
blob: 54d806570f9984f20ce39669b5ceff64831807ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit java-pkg-2 java-pkg-simple

DESCRIPTION="Java Dependency checker"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"

COMMON_DEP="
	dev-java/commons-cli:1
	dev-java/asm:3"
RDEPEND=">=virtual/jre-1.5
	${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
	${COMMON_DEP}"

JAVA_GENTOO_CLASSPATH="asm-3,commons-cli-1"

src_unpack() {
	cp "${FILESDIR}/Main-${PV}.java" Main.java || die
}

src_install() {
	java-pkg-simple_src_install
	java-pkg_dolauncher ${PN} --main javadepchecker.Main
}