Gentoo Archives: gentoo-commits

From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jax-rpc: ChangeLog jax-rpc-1.1.3.01-r1.ebuild
Date: Tue, 20 Nov 2007 05:26:29
Message-Id: E1IuLct-0005rt-W7@stork.gentoo.org
ali_bush    07/11/20 05:26:23

  Modified:             ChangeLog
  Added:                jax-rpc-1.1.3.01-r1.ebuild
  Log:
  Bumping to support javamail virtual.
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.8                  dev-java/jax-rpc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jax-rpc/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jax-rpc/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jax-rpc/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/jax-rpc/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	15 Nov 2007 00:49:17 -0000	1.7
+++ ChangeLog	20 Nov 2007 05:26:23 -0000	1.8
@@ -1,6 +1,11 @@
 # ChangeLog for dev-java/jax-rpc
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-rpc/ChangeLog,v 1.7 2007/11/15 00:49:17 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-rpc/ChangeLog,v 1.8 2007/11/20 05:26:23 ali_bush Exp $
+
+*jax-rpc-1.1.3.01-r1 (20 Nov 2007)
+
+  20 Nov 2007; <alistair@g.o> +jax-rpc-1.1.3.01-r1.ebuild:
+  Bumping to support javamail virtual.
 
   15 Nov 2007; Petteri Räty <betelgeuse@g.o>
   jax-rpc-1.1.3.01.ebuild:



1.1                  dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild?rev=1.1&content-type=text/plain

Index: jax-rpc-1.1.3.01-r1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild,v 1.1 2007/11/20 05:26:23 ali_bush Exp $

JAVA_PKG_IUSE="doc source"

inherit java-pkg-2 java-ant-2 eutils

DESCRIPTION="Reference Implementation of JAX-RPC, the Java APIs for XML based RPC"
HOMEPAGE="http://jax-rpc.dev.java.net/"
# CVS: cvs -d :pserver:guest@××××××××××××.net:/cvs checkout -r JAXRPC_1_1_3_01_PKG_081806 jax-rpc/jaxrpc-ri
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="CDDL"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"

IUSE=""

COMMON_DEP="=dev-java/servletapi-2.4*
	dev-java/fastinfoset
	dev-java/jaxp
	dev-java/jsr67
	dev-java/jsr101
	dev-java/jsr173
	dev-java/relaxng-datatype
	dev-java/saaj
	dev-java/sax
	dev-java/sun-jaf
	java-virtuals/javamail
	dev-java/xsdlib
	>=dev-java/xerces-2.8"
RDEPEND=">=virtual/jre-1.5
	${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
	${COMMON_DEP}"

EANT_BUILD_TARGET="image"
EANT_DOC_TARGET="javadocs"
EANT_EXTRA_ARGS="-Djava.mail=lib/mail.jar"

S="${WORKDIR}/jaxrpc-ri"

src_unpack() {

	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${P}-length.patch"

	cd "${S}/lib"

	java-pkg_jar-from --build-only ant-core
	java-pkg_jar-from fastinfoset fastinfoset.jar FastInfoset.jar
	java-pkg_jar-from jaxp
	java-pkg_jar-from jsr67 jsr67.jar saaj-api.jar
	java-pkg_jar-from jsr101
	java-pkg_jar-from jsr173 jsr173.jar jsr173_api.jar
	java-pkg_jar-from relaxng-datatype
	java-pkg_jar-from saaj saaj.jar saaj-impl.jar
	java-pkg_jar-from sax
	java-pkg_jar-from servletapi-2.4 servlet-api.jar servlet.jar
	java-pkg_jar-from sun-jaf
	java-pkg_jar-from --virtual javamail
	java-pkg_jar-from xsdlib
	java-pkg_jar-from xerces-2

	cd "${S}/src"
	find . -name '*.java' -exec sed -i \
		-e 's,com.sun.org.apache.xerces.internal,org.apache.xerces,g' \
		{} \;

}

src_install() {

	java-pkg_dojar "build/lib/jaxrpc-spi.jar"
	java-pkg_dojar "build/lib/jaxrpc-impl.jar"

	use doc && java-pkg_dojavadoc build/javadocs
	use source && java-pkg_dosrc src

}



-- 
gentoo-commits@g.o mailing list