Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 152924 | Differences between
and this patch

Collapse All | Expand All

(-)mx4j-2.1.0-r1.ebuild (-22 / +23 lines)
Lines 19-33 Link Here
19
# Optional jetty support can be enabled after jetty uses java-pkg_dojar to install jars
19
# Optional jetty support can be enabled after jetty uses java-pkg_dojar to install jars
20
20
21
RDEPEND=">=virtual/jre-1.4
21
RDEPEND=">=virtual/jre-1.4
22
	=www-servers/axis-1*
23
	=dev-java/bcel-5.1*
22
	=dev-java/bcel-5.1*
24
	~dev-java/burlap-3.0.8
25
	>=dev-java/commons-logging-1.0.4
23
	>=dev-java/commons-logging-1.0.4
26
	~dev-java/hessian-3.0.8
24
	tools? ( =www-servers/axis-1*
27
	=dev-java/servletapi-2.3*
25
		~dev-java/burlap-3.0.8
28
	>=dev-java/sun-jaf-bin-1.0.2
26
		~dev-java/hessian-3.0.8
29
	>=dev-java/sun-javamail-bin-1.3.1
27
		>=dev-java/jython-2.1
30
	>=dev-java/jython-2.1"
28
		=dev-java/servletapi-2.3*
29
		>=dev-java/sun-jaf-bin-1.0.2
30
		>=dev-java/sun-javamail-bin-1.3.1 )"
31
31
32
DEPEND=">=virtual/jdk-1.4
32
DEPEND=">=virtual/jdk-1.4
33
	${RDEPEND}
33
	${RDEPEND}
Lines 39-45 Link Here
39
SLOT="2.1"
39
SLOT="2.1"
40
KEYWORDS="~amd64 ~x86"
40
KEYWORDS="~amd64 ~x86"
41
41
42
IUSE="doc examples jikes source"
42
IUSE="doc examples jikes tools source"
43
43
44
src_unpack(){
44
src_unpack(){
45
	unpack ${A}
45
	unpack ${A}
Lines 55-78 Link Here
55
	java-pkg_jar-from bcel
55
	java-pkg_jar-from bcel
56
	java-pkg_jar-from commons-logging
56
	java-pkg_jar-from commons-logging
57
57
58
	# for tools
58
	if use tools ; then
59
	java-pkg_jar-from axis-1
59
		# for tools
60
	java-pkg_jar-from burlap-3.0
60
		java-pkg_jar-from axis-1
61
	java-pkg_jar-from hessian-3.0.8
61
		java-pkg_jar-from burlap-3.0
62
	java-pkg_jar-from servletapi-2.3
62
		java-pkg_jar-from hessian-3.0.8
63
63
		java-pkg_jar-from servletapi-2.3
64
	# optionals (tools)
64
65
	java-pkg_jar-from jython
65
		# optionals (tools)
66
	java-pkg_jar-from sun-jaf-bin
66
		java-pkg_jar-from jython
67
	java-pkg_jar-from sun-javamail-bin mail.jar
67
		java-pkg_jar-from sun-jaf-bin
68
		java-pkg_jar-from sun-javamail-bin mail.jar
69
	fi
68
}
70
}
69
71
70
src_compile() {
72
src_compile() {
71
	cd build/
73
	cd build/
72
74
73
	# The jsr160 and tools compilation could probably
75
	local antflags="compile.jmx compile.rjmx"
74
	# be made optional by use flags.
76
	use tools && antflags="compile.tools"
75
	local antflags="compile.jmx compile.rjmx compile.tools"
76
	use doc && antflags="${antflags} javadocs"
77
	use doc && antflags="${antflags} javadocs"
77
	use examples && antflags="${antflags} compile.examples"
78
	use examples && antflags="${antflags} compile.examples"
78
	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
79
	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
Lines 81-87 Link Here
81
82
82
src_install() {
83
src_install() {
83
	java-pkg_dojar dist/lib/*.jar
84
	java-pkg_dojar dist/lib/*.jar
84
	java-pkg_dowar dist/lib/*.war
85
	use tools && java-pkg_dowar dist/lib/*.war
85
86
86
	dodoc README
87
	dodoc README
87
88

Return to bug 152924