summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-10-12 05:00:26 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-10-12 05:00:26 +0000
commitabc3ddbca192c84c6712c85a34d9276aafa78829 (patch)
treed7bd41098850e2c3cca5d228b950332fee501610 /dev-java/jaxen
parentInitial commit, from bug #88617. (diff)
downloadgentoo-2-abc3ddbca192c84c6712c85a34d9276aafa78829.tar.gz
gentoo-2-abc3ddbca192c84c6712c85a34d9276aafa78829.tar.bz2
gentoo-2-abc3ddbca192c84c6712c85a34d9276aafa78829.zip
Version bump, as reported in bug #124051. Now builds with Java 1.5.
(Portage version: 2.1.2_pre2-r6)
Diffstat (limited to 'dev-java/jaxen')
-rw-r--r--dev-java/jaxen/ChangeLog7
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.1_beta113
-rw-r--r--dev-java/jaxen/jaxen-1.1_beta11.ebuild66
3 files changed, 75 insertions, 1 deletions
diff --git a/dev-java/jaxen/ChangeLog b/dev-java/jaxen/ChangeLog
index 8be818777955..7a16ff222b25 100644
--- a/dev-java/jaxen/ChangeLog
+++ b/dev-java/jaxen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jaxen
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.27 2006/10/05 17:23:40 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.28 2006/10/12 05:00:26 nichoj Exp $
+
+*jaxen-1.1_beta11 (12 Oct 2006)
+
+ 12 Oct 2006; Joshua Nichols <nichoj@gentoo.org> +jaxen-1.1_beta11.ebuild:
+ Version bump, as reported in bug #124051. Now builds with Java 1.5.
05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> jaxen-1.0.ebuild,
jaxen-1.0-r1.ebuild, jaxen-1.1_beta2-r1.ebuild, jaxen-1.1_beta6.ebuild,
diff --git a/dev-java/jaxen/files/digest-jaxen-1.1_beta11 b/dev-java/jaxen/files/digest-jaxen-1.1_beta11
new file mode 100644
index 000000000000..65ea9801f250
--- /dev/null
+++ b/dev-java/jaxen/files/digest-jaxen-1.1_beta11
@@ -0,0 +1,3 @@
+MD5 a499c4c05dfc75baded82a3acefdbd01 jaxen-1.1-beta-11-src.tar.gz 278622
+RMD160 3affa87f175733722ab0bacbae9eb94ca0963daf jaxen-1.1-beta-11-src.tar.gz 278622
+SHA256 4bb00f3317cdc20779d9c08618ca82eb8eb44c7be7fb3811dc6d7f300e52bf67 jaxen-1.1-beta-11-src.tar.gz 278622
diff --git a/dev-java/jaxen/jaxen-1.1_beta11.ebuild b/dev-java/jaxen/jaxen-1.1_beta11.ebuild
new file mode 100644
index 000000000000..15791249a58f
--- /dev/null
+++ b/dev-java/jaxen/jaxen-1.1_beta11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.1_beta11.ebuild,v 1.1 2006/10/12 05:00:26 nichoj Exp $
+
+inherit java-pkg-2 eutils java-ant-2
+
+MY_P=${P/_beta/-beta-}
+DESCRIPTION="A Java XPath Engine"
+HOMEPAGE="http://jaxen.org/"
+SRC_URI="http://dist.codehaus.org/${PN}/distributions/${MY_P}-src.tar.gz"
+
+LICENSE="jaxen"
+SLOT="1.1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc source test"
+
+RDEPEND=">=virtual/jre-1.3
+ ~dev-java/jdom-1.0
+ =dev-java/dom4j-1*
+ >=dev-java/xerces-2.6
+ dev-java/xom"
+
+DEPEND=">=virtual/jdk-1.3
+ dev-java/ant-core
+ test? ( dev-java/ant-tasks )
+ source? ( app-arch/zip )
+ ${RDEPEND}"
+
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+
+ mkdir -p ${S}/target/lib
+ cd ${S}/target/lib
+ java-pkg_jar-from xerces-2
+ java-pkg_jar-from dom4j-1
+ java-pkg_jar-from jdom-1.0
+ java-pkg_jar-from xom
+
+ cd ${S}
+ # Make tests non-compuslatory
+ sed -i 's/depends="compile,test"/depends="compile"/' build.xml
+}
+
+src_compile() {
+ eant jar -Dnoget=1 $(use_doc)
+}
+
+src_install() {
+ java-pkg_newjar target/${MY_P}.jar ${PN}.jar
+
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/java/main/*
+}
+
+src_test() {
+ if ! use test; then
+ ewarn "You must be using the 'test' USE flag in order to"
+ ewarn "get the dependencies to run tests."
+ ewarn "Skipping tests..."
+ else
+ eant test -Dnoget=true
+ fi
+}