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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Nov 28 04:29:39 2006 UTC (13 years, 4 months ago) by nichoj
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Dropped earlier revision with equivalent keywords.
(Portage version: 2.1.2_rc1-r5)
 (Unsigned Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j/mx4j-3.0.1.ebuild,v 1.1 2006/07/03 01:48:17 nichoj Exp $
4
5 inherit eutils java-pkg
6
7 DESCRIPTION="MX4J is a project to build an Open Source implementation of the Java(TM) Management Extensions (JMX) and of the JMX Remote API (JSR 160) specifications, and to build tools relating to JMX."
8 HOMEPAGE="http://mx4j.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
10 DEPEND=">=virtual/jdk-1.4
11 >=dev-java/ant-core-1.6
12 jikes? ( >=dev-java/jikes-1.21 )
13 source? ( app-arch/zip )"
14 RDEPEND=">=virtual/jre-1.4
15 dev-java/bcel
16 dev-java/commons-logging
17 dev-java/log4j
18 =www-servers/axis-1*
19 ~dev-java/servletapi-2.3
20 =dev-java/gnu-jaf-1*
21 =dev-java/gnu-javamail-1*
22 dev-java/jython
23 =dev-java/hessian-3.0.8*
24 =dev-java/burlap-3.0*
25 "
26
27 LICENSE="mx4j"
28 SLOT="3.0"
29 KEYWORDS="~x86 ~amd64"
30 IUSE="doc examples jikes source"
31
32 src_unpack(){
33 unpack ${A}
34
35 cd ${S}/lib
36 java-pkg_jar-from bcel
37 java-pkg_jar-from commons-logging commons-logging.jar
38 java-pkg_jar-from log4j
39 java-pkg_jar-from axis-1
40 java-pkg_jar-from servletapi-2.3
41 java-pkg_jar-from gnu-jaf-1
42 java-pkg_jar-from gnu-javamail-1 gnumail.jar mail.jar
43 java-pkg_jar-from jython
44 java-pkg_jar-from hessian-3.0.8
45 java-pkg_jar-from burlap-3.0
46 }
47
48 src_compile() {
49 local antflags="-f build/build.xml compile.jmx compile.rjmx compile.tools"
50 use doc && antflags="${antflags} javadocs"
51 use examples && antflags="${antflags} compile.examples"
52 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
53 ant ${antflags} || die "ant failed"
54 }
55
56 src_install () {
57 java-pkg_dojar dist/lib/*.jar
58 java-pkg_dowar dist/lib/*.war
59
60 dodoc LICENSE README
61 use doc && java_pkg-dohtml -r dist/docs/api/*
62
63 use source && java-pkg_dosrc ${S}/src/core/*
64
65 if use examples; then
66 dodir /usr/share/doc/${PF}/examples
67 cp -r src/examples/mx4j/examples/* ${D}usr/share/doc/${PF}/examples
68 fi
69 }

  ViewVC Help
Powered by ViewVC 1.1.20