summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-05-02 20:50:34 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-05-02 20:50:34 +0000
commit93fd67e7ecd4d12c62f4247ae5e17ab8221495a6 (patch)
treefa9080bdbb0f3d8f902cac2aea14153052bba90c /dev-java/jsr101
parentRedigest, bad dsd (diff)
downloadgentoo-2-93fd67e7ecd4d12c62f4247ae5e17ab8221495a6.tar.gz
gentoo-2-93fd67e7ecd4d12c62f4247ae5e17ab8221495a6.tar.bz2
gentoo-2-93fd67e7ecd4d12c62f4247ae5e17ab8221495a6.zip
Version bump building the classes from axis sources to remove fetch restriction. Fixes bug #219932.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-java/jsr101')
-rw-r--r--dev-java/jsr101/ChangeLog10
-rw-r--r--dev-java/jsr101/jsr101-1.4.ebuild42
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-java/jsr101/ChangeLog b/dev-java/jsr101/ChangeLog
index cc74c905ffb4..7a009a6aeb2c 100644
--- a/dev-java/jsr101/ChangeLog
+++ b/dev-java/jsr101/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jsr101
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr101/ChangeLog,v 1.6 2007/12/05 19:59:50 nelchael Exp $
+# 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 $
+
+*jsr101-1.4 (02 May 2008)
+
+ 02 May 2008; Petteri Räty <betelgeuse@gentoo.org> +jsr101-1.4.ebuild:
+ Version bump building the classes from axis sources to remove fetch
+ restriction. Fixes bug #219932.
05 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org> jsr101-1.1.ebuild:
Fix download URL, see bug #201339.
diff --git a/dev-java/jsr101/jsr101-1.4.ebuild b/dev-java/jsr101/jsr101-1.4.ebuild
new file mode 100644
index 000000000000..7bbb9ef7ec28
--- /dev/null
+++ b/dev-java/jsr101/jsr101-1.4.ebuild
@@ -0,0 +1,42 @@
+# 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.ebuild,v 1.1 2008/05/02 20:50:34 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"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+src_compile() {
+ mkdir build
+ ejavac \
+ -cp $(java-pkg_getjars servlet-api-2.5) \
+ $(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
+}