diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-08 13:27:04 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-08 13:27:04 +0000 |
commit | e81c7e5145dbeca8bbb1794879d71986f74114e6 (patch) | |
tree | aeb5e03454f49ca903b201f2155ce3a4f51bd176 /www-servers/axis | |
parent | Version bump. (diff) | |
download | gentoo-2-e81c7e5145dbeca8bbb1794879d71986f74114e6.tar.gz gentoo-2-e81c7e5145dbeca8bbb1794879d71986f74114e6.tar.bz2 gentoo-2-e81c7e5145dbeca8bbb1794879d71986f74114e6.zip |
Migrate to generation 2 and use from source versions of sun-jaf and sun-javamail.
(Portage version: 2.1.2.3)
Diffstat (limited to 'www-servers/axis')
-rw-r--r-- | www-servers/axis/ChangeLog | 11 | ||||
-rw-r--r-- | www-servers/axis/axis-1.2_rc2-r1.ebuild | 85 | ||||
-rw-r--r-- | www-servers/axis/files/digest-axis-1.2_rc2-r1 | 3 |
3 files changed, 97 insertions, 2 deletions
diff --git a/www-servers/axis/ChangeLog b/www-servers/axis/ChangeLog index f83e73494fef..03dd55d9d624 100644 --- a/www-servers/axis/ChangeLog +++ b/www-servers/axis/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-servers/axis -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/ChangeLog,v 1.8 2006/11/30 16:07:34 caster Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/ChangeLog,v 1.9 2007/04/08 13:27:04 betelgeuse Exp $ + +*axis-1.2_rc2-r1 (08 Apr 2007) + + 08 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> + +axis-1.2_rc2-r1.ebuild: + Migrate to generation 2 and use from source versions of sun-jaf and + sun-javamail. 30 Nov 2006; Vlastimil Babka <caster@gentoo.org> axis-1.2_rc2.ebuild: Update xerces dep for upcoming 2.6 slotmove. diff --git a/www-servers/axis/axis-1.2_rc2-r1.ebuild b/www-servers/axis/axis-1.2_rc2-r1.ebuild new file mode 100644 index 000000000000..b052c86cfb0e --- /dev/null +++ b/www-servers/axis/axis-1.2_rc2-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/04/08 13:27:04 betelgeuse Exp $ + +WANT_ANT_TASKS="ant-nodeps" + +inherit eutils java-pkg-2 java-ant-2 + +MY_PV="${PV//./_}" +MY_PV="${MY_PV/_rc2/RC2}" +MY_P="${PN}-${MY_PV}" +SRCFILE="${MY_P}-src.tar.gz" +DESCRIPTION="Apache Axis SOAP implementation" +HOMEPAGE="http://ws.apache.org/axis/" +SRC_URI="mirror://apache/ws/${PN}/${MY_PV}/${SRCFILE}" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~x86 ~amd64" +IUSE="debug doc" + +COMMON_DEPEND=" + =dev-java/servletapi-2.4* + dev-java/commons-logging + dev-java/commons-discovery + dev-java/log4j + dev-java/wsdl4j + >=dev-java/xerces-2.7 + =dev-java/rhino-1.5* + =dev-java/castor-0.9* + >=dev-java/sun-jimi-1.0 + =dev-java/commons-httpclient-2* + =dev-java/bsf-2.3* + dev-java/sun-jaf + dev-java/sun-javamail" +RDEPEND=" + >=virtual/jre-1.4 + ${COMMON_DEPEND}" +DEPEND="=virtual/jdk-1.4* + ${COMMON_DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/axis-1.2-gentoo.patch" + + find . -name "*.jar" -exec rm -v {} \; + + 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 + java-pkg_jar-from servletapi-2.4 + java-pkg_jar-from sun-javamail + 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 debug && antflags="${antflags} -Ddebug=on" + use !debug && antflags="${antflags} -Ddebug=off" + # has prebuild javadocs + eant ${antflags} +} + +src_install() { + java-pkg_dojar build/lib/axis*.jar + java-pkg_dojar build/lib/jaxrpc.jar + java-pkg_dojar build/lib/saaj.jar + + dohtml release-notes.html changelog.html || die + if use doc; then + java-pkg_dohtml -r docs/* + dosym /usr/share/doc/${PF}/html/{apiDocs,api} || die + fi +} diff --git a/www-servers/axis/files/digest-axis-1.2_rc2-r1 b/www-servers/axis/files/digest-axis-1.2_rc2-r1 new file mode 100644 index 000000000000..798d83ec9502 --- /dev/null +++ b/www-servers/axis/files/digest-axis-1.2_rc2-r1 @@ -0,0 +1,3 @@ +MD5 a5424fcb51e2f3e9ad53db2186185ad6 axis-1_2RC2-src.tar.gz 9888710 +RMD160 3543f87a148b524ccb2c1f5e71f7a22f6cf5d338 axis-1_2RC2-src.tar.gz 9888710 +SHA256 58d34b947c524eeb898a76f0d62020377216ee1173d9c62b70d7b5bb87393ce8 axis-1_2RC2-src.tar.gz 9888710 |