diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-05-03 16:52:31 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-05-03 16:52:31 +0000 |
commit | 44b4b40f1428e46ee12e2c2d0de819ca9632e253 (patch) | |
tree | d5becf222bf05a4d7e2f8a1357489ebbf32a2a02 /dev-java | |
parent | Add virtual for saaj-api (jsr67) so that dev-java/jsr101 can be compiled on 1... (diff) | |
download | gentoo-2-44b4b40f1428e46ee12e2c2d0de819ca9632e253.tar.gz gentoo-2-44b4b40f1428e46ee12e2c2d0de819ca9632e253.tar.bz2 gentoo-2-44b4b40f1428e46ee12e2c2d0de819ca9632e253.zip |
Fix building on 1.5 by using java-virtuals/saaj-api.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jsr101/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jsr101/jsr101-1.4-r1.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-java/jsr101/ChangeLog b/dev-java/jsr101/ChangeLog index 7a009a6aeb2c..a85d06b48c34 100644 --- a/dev-java/jsr101/ChangeLog +++ b/dev-java/jsr101/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jsr101 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr101/ChangeLog,v 1.7 2008/05/02 20:50:34 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr101/ChangeLog,v 1.8 2008/05/03 16:52:31 betelgeuse Exp $ + +*jsr101-1.4-r1 (03 May 2008) + + 03 May 2008; Petteri Räty <betelgeuse@gentoo.org> +jsr101-1.4-r1.ebuild: + Fix building on 1.5 by using java-virtuals/saaj-api. *jsr101-1.4 (02 May 2008) diff --git a/dev-java/jsr101/jsr101-1.4-r1.ebuild b/dev-java/jsr101/jsr101-1.4-r1.ebuild new file mode 100644 index 000000000000..eca010b2170d --- /dev/null +++ b/dev-java/jsr101/jsr101-1.4-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr101/jsr101-1.4-r1.ebuild,v 1.1 2008/05/03 16:52:31 betelgeuse Exp $ + +EAPI=1 +JAVA_PKG_IUSE="" + +inherit versionator java-pkg-2 + +DESCRIPTION="Java(TM) API for XML-Based RPC Specification Interface Classes" +HOMEPAGE="http://jcp.org/aboutJava/communityprocess/first/jsr101/" +MY_PN=axis +MY_PV=$(replace_all_version_separators _) +SRC_URI="mirror://apache/ws/${MY_PN}/${MY_PV}/${MY_PN}-src-${MY_PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" + +IUSE="" + +COMMON_DEP=" + java-virtuals/servlet-api:2.5 + java-virtuals/saaj-api" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +src_compile() { + mkdir build + ejavac \ + -classpath $(java-pkg_getjars servlet-api-2.5,saaj-api) \ + $(find src/javax/xml/rpc -name "*.java") -d build + cd build + jar cf jaxrpc-api.jar $(find . -type f) || die "jar failed" +} + +src_install() { + java-pkg_dojar build/*.jar +} |