blob: 458a49941128142b317fae22a2e2abe8b5bc7ab7 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A WBEM services client that includes an IETF RFC 2614 compliant SLP client for CIM service discovery"
HOMEPAGE="http://sblim.wiki.sourceforge.net/CimClient"
SRC_URI="mirror://sourceforge/sblim/${PN}2-${PV}-src.zip"
LICENSE="CPL-1.0"
SLOT="2"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=virtual/jre-1.5"
DEPEND="
>=virtual/jdk-1.5
test? ( dev-java/ant-junit )"
S="${WORKDIR}/${PN}2-${PV}-src"
EANT_BUILD_TARGET="package"
EANT_DOC_TARGET="java-doc"
EANT_TEST_TARGET="unittest"
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar "build/lib/${PN}2-${PV}.jar"
dodoc build/lib/*.properties
dodoc ChangeLog README NEWS
use doc && java-pkg_dojavadoc build/doc
use source && java-pkg_dosrc src/*
}
|