summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-11-19 09:21:22 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-11-19 09:21:22 +0000
commit9b16ebc3cd861fe0bad4926811dbd5d0b29bb3c9 (patch)
tree7cc77970780c97a35fe2e05006f16053f54677e0 /dev-java
parentAdded =dev-java/soap-2.3.1-r2 to mask (diff)
downloadgentoo-2-9b16ebc3cd861fe0bad4926811dbd5d0b29bb3c9.tar.gz
gentoo-2-9b16ebc3cd861fe0bad4926811dbd5d0b29bb3c9.tar.bz2
gentoo-2-9b16ebc3cd861fe0bad4926811dbd5d0b29bb3c9.zip
RevBump soap to use java-virtuals/javamail
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/soap/ChangeLog7
-rw-r--r--dev-java/soap/files/digest-soap-2.3.1-r23
-rw-r--r--dev-java/soap/soap-2.3.1-r2.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-java/soap/ChangeLog b/dev-java/soap/ChangeLog
index af286bfe601c..46d847d0ac90 100644
--- a/dev-java/soap/ChangeLog
+++ b/dev-java/soap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/soap
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/soap/ChangeLog,v 1.9 2007/03/13 21:23:42 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/soap/ChangeLog,v 1.10 2007/11/19 09:21:21 ali_bush Exp $
+
+*soap-2.3.1-r2 (19 Nov 2007)
+
+ 19 Nov 2007; <alistair@gentoo.org> +soap-2.3.1-r2.ebuild:
+ Revbumping soap to use java-virtuals/javamail
13 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> -soap-2.3.1.ebuild:
Cleanup.
diff --git a/dev-java/soap/files/digest-soap-2.3.1-r2 b/dev-java/soap/files/digest-soap-2.3.1-r2
new file mode 100644
index 000000000000..d767f1a85fb6
--- /dev/null
+++ b/dev-java/soap/files/digest-soap-2.3.1-r2
@@ -0,0 +1,3 @@
+MD5 ad2bb1b3f2b9a440055d72a635e0753e soap-src-2.3.1.tar.gz 142925
+RMD160 2d8a3177bff7341a5ffca27d767e88dd734ed7cd soap-src-2.3.1.tar.gz 142925
+SHA256 4b580107a4026801c29975668e03c6fe959662086d910da979450eae2f808c87 soap-src-2.3.1.tar.gz 142925
diff --git a/dev-java/soap/soap-2.3.1-r2.ebuild b/dev-java/soap/soap-2.3.1-r2.ebuild
new file mode 100644
index 000000000000..7be5d36ae7ae
--- /dev/null
+++ b/dev-java/soap/soap-2.3.1-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/soap/soap-2.3.1-r2.ebuild,v 1.1 2007/11/19 09:21:21 ali_bush Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_P=${P//./_}
+DESCRIPTION="Apache SOAP (Simple Object Access Protocol) is an implementation of the SOAP submission to W3C"
+HOMEPAGE="http://ws.apache.org/soap/"
+SRC_URI="mirror://apache/ws/soap/version-${PV}/soap-src-${PV}.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="java-virtuals/javamail
+ dev-java/sun-jaf
+ =dev-java/servletapi-2.4*
+ >=dev-java/xerces-2.7"
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ ${CDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # get rid of automagical tests, add gentoo.classpath to <javac>
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+ # javadoc is a stupid thing, why it has -source 1.4 if not for this?!
+ if use doc; then
+ find src -name "*.java" -exec sed -i s/enum/enum1/g "{}" ";" \
+ || die "failed to rewrite enum keywords"
+ fi
+}
+
+src_compile() {
+ local gcp="$(java-pkg_getjars javamail,sun-jaf,xerces-2,servletapi-2.4)"
+ eant "-Dgentoo.classpath=\"${gcp}\"" compile $(use_doc javadocs)
+}
+
+src_install() {
+ java-pkg_dojar build/lib/${PN}.jar
+
+ use doc && java-pkg_dojavadoc build/javadocs
+ use source && java-pkg_dosrc src/org
+}