summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-05-13 23:29:32 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-05-13 23:29:32 +0000
commit59786e49d207aa33d6b0efd316b6c293b0319ec6 (patch)
tree481701651fe2979f9c5596c70fe3dd6b81d5ff86 /dev-java/jibx-tools
parentRemove old version. (diff)
downloadgentoo-2-59786e49d207aa33d6b0efd316b6c293b0319ec6.tar.gz
gentoo-2-59786e49d207aa33d6b0efd316b6c293b0319ec6.tar.bz2
gentoo-2-59786e49d207aa33d6b0efd316b6c293b0319ec6.zip
Migrate to the stax-api virtual.
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'dev-java/jibx-tools')
-rw-r--r--dev-java/jibx-tools/ChangeLog8
-rw-r--r--dev-java/jibx-tools/jibx-tools-1.1.5-r1.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-java/jibx-tools/ChangeLog b/dev-java/jibx-tools/ChangeLog
index 59c0d16f2465..1ced0e5e518f 100644
--- a/dev-java/jibx-tools/ChangeLog
+++ b/dev-java/jibx-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jibx-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jibx-tools/ChangeLog,v 1.4 2009/05/13 23:23:19 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jibx-tools/ChangeLog,v 1.5 2009/05/13 23:29:32 betelgeuse Exp $
+
+*jibx-tools-1.1.5-r1 (13 May 2009)
+
+ 13 May 2009; Petteri Räty <betelgeuse@gentoo.org>
+ +jibx-tools-1.1.5-r1.ebuild:
+ Migrate to the stax-api virtual.
13 May 2009; Petteri Räty <betelgeuse@gentoo.org>
-jibx-tools-1.1.3.ebuild:
diff --git a/dev-java/jibx-tools/jibx-tools-1.1.5-r1.ebuild b/dev-java/jibx-tools/jibx-tools-1.1.5-r1.ebuild
new file mode 100644
index 000000000000..76e20d45d7d6
--- /dev/null
+++ b/dev-java/jibx-tools/jibx-tools-1.1.5-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jibx-tools/jibx-tools-1.1.5-r1.ebuild,v 1.1 2009/05/13 23:29:32 betelgeuse Exp $
+
+EAPI="2"
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+MY_PV=$(replace_all_version_separators '_')
+
+DESCRIPTION="JiBX: Binding XML to Java Code - Generators"
+HOMEPAGE="http://jibx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jibx/jibx_${MY_PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/bcel:0
+ java-virtuals/stax-api
+ ~dev-java/jibx-${PV}"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/jibx"
+
+java_prepare() {
+ #http://jira.codehaus.org/browse/JIBX-207
+ epatch "${FILESDIR}/1.1.5-build.patch"
+ java-ant_rewrite-classpath "${S}/build/build.xml"
+ rm -v "${S}"/lib/*.jar || die
+}
+
+EANT_FILTER_COMPILER="ecj-3.3"
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="jar-tools"
+EANT_GENTOO_CLASSPATH="bcel,stax-api,jibx"
+
+src_install() {
+ java-pkg_register-dependency jibx
+
+ java-pkg_dojar "${S}/lib"/jibx-*.jar
+ use source && java-pkg_dosrc "${S}"/build/src/* "${S}"/build/extras/*
+}