summaryrefslogtreecommitdiff
blob: 2b2f4a8ea48299d19b5af63fba47d6bd4408f4c9 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2016 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="${PN}-java"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="a library of arguably useful Java utilities"
HOMEPAGE="https://github.com/swaldman/mchange-commons-java"
SRC_URI="https://github.com/swaldman/${MY_PN}/archive/${MY_P}.zip"

LICENSE="CDDL"
SLOT="0"
KEYWORDS="amd64 ppc64 x86"

IUSE="doc source"

CDEPEND="
	dev-java/log4j:0
	dev-java/slf4j-api:0
	dev-java/typesafe-config:0"

RDEPEND="
	${CDEPEND}
	>=virtual/jre-1.6"

DEPEND="
	${CDEPEND}
	app-arch/zip
	>=virtual/jdk-1.6"

S="${WORKDIR}/${MY_PN}-${MY_P}"

JAVA_SRC_DIR="src/main"

JAVA_GENTOO_CLASSPATH="
	log4j
	slf4j-api
	typesafe-config"