/[gentoo-x86]/dev-java/mx4j-core/mx4j-core-3.0.2-r1.ebuild
Gentoo

Contents of /dev-java/mx4j-core/mx4j-core-3.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jul 1 15:07:19 2015 UTC (4 years, 6 months ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86 with ALLARCHES. Fix bug 551988.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-core/mx4j-core-3.0.2-r1.ebuild,v 1.2 2015/07/01 09:35:27 monsieurp Exp $
4
5 EAPI=5
6
7 inherit java-pkg-2 java-ant-2
8
9 MY_PN="${PN/-core/}"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="Open Source implementation of the JMX and JMX Remote API (JSR 160) specifications"
13 HOMEPAGE="http://mx4j.sourceforge.net/"
14 SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}-src.tar.gz"
15
16 CDEPEND="dev-java/bcel:0
17 dev-java/commons-logging:0
18 dev-java/log4j:0"
19 DEPEND=">=virtual/jdk-1.6
20 >=dev-java/ant-core-1.6
21 source? ( app-arch/zip )
22 ${CDEPEND}"
23 RDEPEND=">=virtual/jre-1.6
24 ${CDEPEND}"
25
26 LICENSE="Apache-1.1"
27 SLOT="3.0"
28 KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
29 IUSE="doc source"
30
31 S="${WORKDIR}/${MY_P}"
32
33 JAVA_ANT_REWRITE_CLASSPATH="true"
34 EANT_GENTOO_CLASSPATH="bcel,commons-logging,log4j"
35
36 java_prepare() {
37 epatch "${FILESDIR}/${P}-split-javadoc-build.patch"
38 }
39
40 src_compile() {
41 eant -f build/build.xml \
42 compile.jmx \
43 compile.rjmx \
44 $(use_doc javadocs.core)
45 }
46
47 src_install() {
48 java-pkg_dojar dist/lib/*.jar
49 dodoc README.txt
50 use doc && java-pkg_dojavadoc dist/docs/api
51 use source && java-pkg_dosrc "${S}/src/core/*"
52 }
53
54 pkg_postinst() {
55 elog "This is a a new split ebuild for just the core jmx to reduce"
56 elog "dependencies for packages that only require the core. You can"
57 elog "find the examples in dev-java/mx4j and the tools in dev-java/mx4j-tools"
58 }

  ViewVC Help
Powered by ViewVC 1.1.20