1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # 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/*
- }
|