diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-10-05 20:20:57 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-10-05 20:20:57 +0000 |
commit | cb514ad32c8fca05c27b2a678b9c442586b02df9 (patch) | |
tree | faf68f7af7e4f38b1994185b0c997c30011e936a /dev-java/saaj | |
parent | update from cvs to svn (diff) | |
download | gentoo-2-cb514ad32c8fca05c27b2a678b9c442586b02df9.tar.gz gentoo-2-cb514ad32c8fca05c27b2a678b9c442586b02df9.tar.bz2 gentoo-2-cb514ad32c8fca05c27b2a678b9c442586b02df9.zip |
Migrate to jaf and saaj-api virtuals.
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-java/saaj')
-rw-r--r-- | dev-java/saaj/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/saaj/saaj-1.3-r1.ebuild | 61 |
2 files changed, 67 insertions, 1 deletions
diff --git a/dev-java/saaj/ChangeLog b/dev-java/saaj/ChangeLog index d9eff08384e0..6ad05b1499a9 100644 --- a/dev-java/saaj/ChangeLog +++ b/dev-java/saaj/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/saaj # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/ChangeLog,v 1.10 2008/03/28 18:06:12 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/ChangeLog,v 1.11 2008/10/05 20:20:57 serkan Exp $ + +*saaj-1.3-r1 (05 Oct 2008) + + 05 Oct 2008; Serkan Kaba <serkan@gentoo.org> +saaj-1.3-r1.ebuild: + Migrate to jaf and saaj-api virtuals. 28 Mar 2008; nixnut <nixnut@gentoo.org> saaj-1.3.ebuild: Stable on ppc wrt bug 214778 diff --git a/dev-java/saaj/saaj-1.3-r1.ebuild b/dev-java/saaj/saaj-1.3-r1.ebuild new file mode 100644 index 000000000000..85a8cf0fcef4 --- /dev/null +++ b/dev-java/saaj/saaj-1.3-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/saaj-1.3-r1.ebuild,v 1.1 2008/10/05 20:20:57 serkan Exp $ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="SOAP with Attachments API for Java" +HOMEPAGE="https://saaj.dev.java.net/" +SRC_URI="https://saaj.dev.java.net/files/documents/52/32731/saaj${PV}.src.zip" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +COMMON_DEP="java-virtuals/saaj-api + java-virtuals/jaf + >=dev-java/xerces-2.8 + dev-java/xalan" +# needs com.sun.image.codec which 1.7 doesn't have +# should fix it to not use them at all +DEPEND="|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* ) + app-arch/unzip + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}" + +src_unpack() { + + unpack ${A} + + mkdir src lib || die + mv com src || die + + cd "${S}/lib" + java-pkg_jar-from --virtual saaj-api + java-pkg_jar-from --virtual jaf + java-pkg_jar-from xerces-2 + java-pkg_jar-from xalan + + cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die + + cd "${S}/src" + # YES! There's nothing like using com.sun...internal ! YAY! + find . -name '*.java' -exec sed -i \ + -e 's,com.sun.org.apache.xerces.internal,org.apache.xerces,g' \ + -e 's,com.sun.org.apache.xalan.internal.xsltc.trax,org.apache.xalan.xsltc.trax,g' \ + {} \; + +} + +src_install() { + java-pkg_dojar saaj.jar + + use source && java-pkg_dosrc src/* + +} |