diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-22 14:04:51 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-22 14:04:51 +0000 |
commit | 57285c8e0d502a86db252ae5f4e45e965400a78a (patch) | |
tree | a20ccc26a3cf3c8816b03ce3bdda6d675b069a6b /www-servers/axis/axis-1.2_rc2.ebuild | |
parent | metadata (diff) | |
download | gentoo-2-57285c8e0d502a86db252ae5f4e45e965400a78a.tar.gz gentoo-2-57285c8e0d502a86db252ae5f4e45e965400a78a.tar.bz2 gentoo-2-57285c8e0d502a86db252ae5f4e45e965400a78a.zip |
Initial import. Ebuild contributions by various people, see #38899.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'www-servers/axis/axis-1.2_rc2.ebuild')
-rw-r--r-- | www-servers/axis/axis-1.2_rc2.ebuild | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/www-servers/axis/axis-1.2_rc2.ebuild b/www-servers/axis/axis-1.2_rc2.ebuild new file mode 100644 index 000000000000..99f2477a0e04 --- /dev/null +++ b/www-servers/axis/axis-1.2_rc2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/axis-1.2_rc2.ebuild,v 1.1 2005/01/22 14:04:51 luckyduck Exp $ + +inherit eutils java-pkg + +DESCRIPTION="Apache Axis SOAP implementation" +HOMEPAGE="http://ws.apache.org/axis/" +MY_PV="${PV//./_}" +MY_PV="${MY_PV/_rc2/RC2}" +MY_P="${PN}-${MY_PV}" +SRCFILE="${MY_P}-src.tar.gz" +SRC_URI="mirror://apache/ws/${PN}/${MY_PV}/${SRCFILE}" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.5 + =dev-java/servletapi-2.4* + dev-java/commons-logging + dev-java/commons-discovery + dev-java/log4j + dev-java/wsdl4j + >=dev-java/xerces-2 + >=dev-java/rhino-1.5.5 + >=dev-java/castor-0.9.5.3 + >=dev-java/sun-jimi-1.0 + >=dev-java/commons-httpclient-2.0 + =dev-java/bsf-2.3* + dev-java/sun-jaf-bin + dev-java/sun-javamail-bin + jikes? ( >=dev-java/jikes-1.21 )" +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="~x86 ~amd64" +IUSE="debug doc jikes" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/axis-1.2-gentoo.patch + + for i in `find . -name "*.jar"` + do + rm -f $i + done + + cd ${S}/lib + java-pkg_jar-from commons-discovery + java-pkg_jar-from commons-logging + java-pkg_jar-from log4j + java-pkg_jar-from wsdl4j + java-pkg_jar-from sun-jaf-bin + java-pkg_jar-from servletapi-2.4 + java-pkg_jar-from sun-javamail-bin + java-pkg_jar-from xerces-2 + java-pkg_jar-from sun-jimi + java-pkg_jar-from castor-0.9 + java-pkg_jar-from commons-httpclient + java-pkg_jar-from bsf-2.3 +} + +src_compile() { + local antflags="compile -Ddeprecation=false -Dbase.path=/opt" + use doc && antflags="${antflags} javadocs" + use debug && antflags="${antflags} -Ddebug=on" + use !debug && antflags="${antflags} -Ddebug=off" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation problem" +} + +src_install() { + java-pkg_dojar build/lib/axis*.jar + java-pkg_dojar build/lib/jaxrpc.jar + java-pkg_dojar build/lib/saaj.jar + + if use doc; then + dodoc ${S}/release-notes.html ${S}/release-notes.html ${S}/doc/* + java-pkg_dohtml ${S}/build/javadocs/ + fi +} |