diff options
author | Ian Whyman <thev00d00@gentoo.org> | 2012-08-26 14:04:54 +0000 |
---|---|---|
committer | Ian Whyman <thev00d00@gentoo.org> | 2012-08-26 14:04:54 +0000 |
commit | 2c53357715aade328b1e8b58f0afd4c06be4cd2a (patch) | |
tree | 75bf9dc22c4140ea9bfcda317d7d095e51262853 /dev-java/odfdom | |
parent | Fix changelog (diff) | |
download | gentoo-2-2c53357715aade328b1e8b58f0afd4c06be4cd2a.tar.gz gentoo-2-2c53357715aade328b1e8b58f0afd4c06be4cd2a.tar.bz2 gentoo-2-2c53357715aade328b1e8b58f0afd4c06be4cd2a.zip |
Fix build, thanks to Ivan Baidakou (dmol) in #432514
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/odfdom')
-rw-r--r-- | dev-java/odfdom/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/odfdom/odfdom-0.8.6-r1.ebuild | 58 | ||||
-rw-r--r-- | dev-java/odfdom/odfdom-0.8.6.ebuild | 4 |
3 files changed, 67 insertions, 4 deletions
diff --git a/dev-java/odfdom/ChangeLog b/dev-java/odfdom/ChangeLog index 65c57b372bee..bb0ac623c15f 100644 --- a/dev-java/odfdom/ChangeLog +++ b/dev-java/odfdom/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/odfdom -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom/ChangeLog,v 1.2 2011/01/17 02:12:47 fordfrog Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom/ChangeLog,v 1.3 2012/08/26 14:04:54 thev00d00 Exp $ + +*odfdom-0.8.6-r1 (26 Aug 2012) + + 26 Aug 2012; Ian Whyman <thev00d00@gentoo.org> +odfdom-0.8.6-r1.ebuild: + Fix build, thanks to Ivan Baidakou (dmol) in #432514 *odfdom-0.8.6 (17 Jan 2011) diff --git a/dev-java/odfdom/odfdom-0.8.6-r1.ebuild b/dev-java/odfdom/odfdom-0.8.6-r1.ebuild new file mode 100644 index 000000000000..77da77d4c870 --- /dev/null +++ b/dev-java/odfdom/odfdom-0.8.6-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom/odfdom-0.8.6-r1.ebuild,v 1.1 2012/08/26 14:04:54 thev00d00 Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="The ODFDOM reference implementation, written in Java." +HOMEPAGE="http://odftoolkit.org/projects/odfdom" +SRC_URI="http://odftoolkit.org/projects/odfdom/downloads/download/current-version%252F${P}-sources.zip -> ${P}-sources.zip" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="" + +CDEPEND="dev-java/xerces:2 + dev-java/xml-commons-external:1.4" + +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.5 + ${CDEPEND} + test? ( + dev-java/ant-junit4:0 + dev-java/hamcrest-core:0 + dev-java/junit:4 + )" + +S="${WORKDIR}/${P}-sources" + +EANT_GENTOO_CLASSPATH="xerces-2,xml-commons-external-1.4" +JAVA_ANT_REWRITE_CLASSPATH="yes" + +src_prepare() { + cp "${FILESDIR}/build-${PV}.xml" build.xml || die + + mkdir lib || die +} + +EANT_BUILD_TARGET="package" +EANT_JAVADOC_TARGET="javadoc" +EANT_EXTRA_ARGS="-Dmaven.test.skip=true" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},hamcrest-core,junit-4" + +src_test() { + EANT_EXTRA_ARGS="" \ + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar target/odfdom.jar + + dodoc README.txt LICENSE.txt || die + use doc && java-pkg_dojavadoc target/site/apidocs +} diff --git a/dev-java/odfdom/odfdom-0.8.6.ebuild b/dev-java/odfdom/odfdom-0.8.6.ebuild index 840ad582c5c2..2a2475a81fb9 100644 --- a/dev-java/odfdom/odfdom-0.8.6.ebuild +++ b/dev-java/odfdom/odfdom-0.8.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom/odfdom-0.8.6.ebuild,v 1.1 2011/01/17 02:12:47 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/odfdom/odfdom-0.8.6.ebuild,v 1.2 2012/08/26 14:04:54 thev00d00 Exp $ EAPI="3" |