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

Contents of /dev-java/mx4j-core/mx4j-core-3.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Dec 2 08:29:18 2012 UTC (7 years, 1 month ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
Update LICENSE, this is identical with the Apache-1.1 license, bug 444848.

(Portage version: 2.1.11.32/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)

1 # Copyright 1999-2012 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.1.ebuild,v 1.8 2007/07/29 23:47:54 tgall Exp $
4
5 inherit eutils java-pkg-2 java-ant-2
6
7 MY_P="${P/-core/}"
8 DESCRIPTION="Open Source implementation of the JMX and JMX Remote API (JSR 160) specifications"
9 HOMEPAGE="http://mx4j.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz"
11
12 # The ${S}/BUILD-HOWTO is a good source for dependencies
13 # This package could also be built with jdk-1.3; see special
14 # handling instructions in ${S}/BUILD-HOWTO.
15
16 RDEPEND="dev-java/bcel
17 dev-java/commons-logging
18 dev-java/log4j"
19 DEPEND="${RDEPEND}
20 >=virtual/jdk-1.4
21 >=dev-java/ant-core-1.6
22 source? ( app-arch/zip )"
23 RDEPEND="${RDEPEND}
24 >=virtual/jre-1.4"
25
26 LICENSE="Apache-1.1"
27 SLOT="3.0"
28 KEYWORDS="amd64 ~ppc ppc64 x86 ~x86-fbsd"
29 IUSE="doc source"
30
31 S="${WORKDIR}/${MY_P}"
32
33 src_unpack() {
34 unpack ${A}
35
36 cd "${S}"
37 epatch "${FILESDIR}/${P}-split-javadoc-build.patch"
38
39 cd "${S}/lib"
40 java-pkg_jar-from bcel bcel.jar
41 java-pkg_jar-from commons-logging commons-logging.jar
42 java-pkg_jar-from log4j
43 }
44
45 src_compile() {
46 eant -f build/build.xml compile.jmx compile.rjmx $(use_doc javadocs.core)
47 }
48
49 src_install() {
50 java-pkg_dojar dist/lib/*.jar
51 dodoc README.txt
52 use doc && java-pkg_dojavadoc dist/docs/api
53 use source && java-pkg_dosrc "${S}/src/core/*"
54 }
55
56 pkg_postinst() {
57 elog "This is a a new split ebuild for just the core jmx to reduce"
58 elog "dependencies for packages that only require the core. You can"
59 elog "find the examples in dev-java/mx4j and the tools in dev-java/mx4j-tools"
60 }

  ViewVC Help
Powered by ViewVC 1.1.20