summaryrefslogtreecommitdiff
blob: 545c48201527dbe9b385de1e7fccacede0cb3a7d (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
# 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="${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 ~x86 ~ppc ~ppc64"

IUSE="doc source"

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

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

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

JAVA_SRC_DIR="src/main"
JAVA_GENTOO_CLASSPATH="log4j,slf4j-api,typesafe-config"