/[gentoo-x86]/www-servers/axis/axis-1.2_rc2-r3.ebuild
Gentoo

Contents of /www-servers/axis/axis-1.2_rc2-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jan 22 11:32:51 2010 UTC (4 years, 6 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/axis/axis-1.2_rc2-r3.ebuild,v 1.3 2007/11/24 19:29:49 drac Exp $
4
5 WANT_ANT_TASKS="ant-nodeps"
6
7 inherit eutils java-pkg-2 java-ant-2
8
9 MY_PV="${PV//./_}"
10 MY_PV="${MY_PV/_rc2/RC2}"
11 MY_P="${PN}-${MY_PV}"
12 SRCFILE="${MY_P}-src.tar.gz"
13 DESCRIPTION="Apache Axis SOAP implementation"
14 HOMEPAGE="http://ws.apache.org/axis/"
15 SRC_URI="mirror://apache/ws/${PN}/${MY_PV}/${SRCFILE}"
16
17 LICENSE="Apache-2.0"
18 SLOT="1"
19 KEYWORDS="amd64 x86"
20 IUSE="debug doc"
21
22 COMMON_DEPEND="
23 =dev-java/servletapi-2.4*
24 dev-java/commons-logging
25 dev-java/commons-discovery
26 dev-java/log4j
27 dev-java/wsdl4j
28 >=dev-java/xerces-2.7
29 =dev-java/rhino-1.5*
30 >=dev-java/castor-1.0
31 >=dev-java/sun-jimi-1.0
32 =dev-java/commons-httpclient-3*
33 >=dev-java/bsf-2.3
34 dev-java/sun-jaf
35 dev-java/sun-javamail"
36 RDEPEND="
37 >=virtual/jre-1.4
38 ${COMMON_DEPEND}"
39 DEPEND="=virtual/jdk-1.4*
40 ${COMMON_DEPEND}"
41
42 S=${WORKDIR}/${MY_P}
43
44 src_unpack() {
45 unpack ${A}
46
47 cd "${S}"
48 epatch "${FILESDIR}/axis-1.2-gentoo.patch"
49
50 find . -name "*.jar" -exec rm -v {} \;
51
52 cd "${S}/lib"
53 java-pkg_jar-from commons-discovery
54 java-pkg_jar-from commons-logging
55 java-pkg_jar-from log4j
56 java-pkg_jar-from wsdl4j
57 java-pkg_jar-from sun-jaf
58 java-pkg_jar-from servletapi-2.4
59 java-pkg_jar-from sun-javamail
60 java-pkg_jar-from xerces-2
61 java-pkg_jar-from sun-jimi
62 java-pkg_jar-from castor-1.0
63 java-pkg_jar-from commons-httpclient-3
64 java-pkg_jar-from bsf-2.3
65 }
66
67 src_compile() {
68 local antflags="compile -Ddeprecation=false -Dbase.path=/opt"
69 use debug && antflags="${antflags} -Ddebug=on"
70 use !debug && antflags="${antflags} -Ddebug=off"
71 # has prebuild javadocs
72 eant ${antflags}
73 }
74
75 src_install() {
76 java-pkg_dojar build/lib/axis*.jar
77 java-pkg_dojar build/lib/jaxrpc.jar
78 java-pkg_dojar build/lib/saaj.jar
79
80 dohtml release-notes.html changelog.html || die
81 if use doc; then
82 java-pkg_dohtml -r docs/*
83 dosym /usr/share/doc/${PF}/html/{apiDocs,api} || die
84 fi
85 }

  ViewVC Help
Powered by ViewVC 1.1.20