diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-27 20:29:25 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-27 20:29:25 +0000 |
commit | dadea66229afdf70659edec26f542ad0c2660831 (patch) | |
tree | 2b869d0ea124fbb611c79d0a7ed61c032c3a2cd5 /dev-java/dom4j | |
parent | Require avahi 0.6.12 to complete the fix of 0.9.4 version. Remove old version. (diff) | |
download | historical-dadea66229afdf70659edec26f542ad0c2660831.tar.gz historical-dadea66229afdf70659edec26f542ad0c2660831.tar.bz2 historical-dadea66229afdf70659edec26f542ad0c2660831.zip |
Migrated to Generation 2.
Package-Manager: portage-2.1.1_pre3-r5
Diffstat (limited to 'dev-java/dom4j')
-rw-r--r-- | dev-java/dom4j/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/dom4j/dom4j-1.6.1-r1.ebuild | 75 | ||||
-rw-r--r-- | dev-java/dom4j/files/digest-dom4j-1.6.1-r1 | 3 |
3 files changed, 84 insertions, 1 deletions
diff --git a/dev-java/dom4j/ChangeLog b/dev-java/dom4j/ChangeLog index d41e8b7b8694..69fa88da06dc 100644 --- a/dev-java/dom4j/ChangeLog +++ b/dev-java/dom4j/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/dom4j # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/dom4j/ChangeLog,v 1.29 2006/03/14 05:00:53 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/dom4j/ChangeLog,v 1.30 2006/07/27 20:23:43 nelchael Exp $ + +*dom4j-1.6.1-r1 (27 Jul 2006) + + 27 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> +dom4j-1.6.1-r1.ebuild: + Migrated to Generation 2. 14 Mar 2006; Joshua Nichols <nichoj@gentoo.org> dom4j-1.6.1.ebuild: Disabled jikes support as per bug #123004. diff --git a/dev-java/dom4j/dom4j-1.6.1-r1.ebuild b/dev-java/dom4j/dom4j-1.6.1-r1.ebuild new file mode 100644 index 000000000000..267bee45e895 --- /dev/null +++ b/dev-java/dom4j/dom4j-1.6.1-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/dom4j/dom4j-1.6.1-r1.ebuild,v 1.1 2006/07/27 20:23:43 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Easy to use, open source library for working with XML, XPath and XSLT on the Java platform using the Java Collections Framework and with full support for DOM, SAX and JAXP." +HOMEPAGE="http://dom4j.sourceforge.net/" +SRC_URI="mirror://sourceforge/dom4j/${P}.tar.gz" +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc source" +RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.3* ) + dev-java/jaxme + dev-java/jsr173 + dev-java/msv + dev-java/xpp2 + dev-java/xpp3 + dev-java/relaxng-datatype + =dev-java/xerces-2* + dev-java/xsdlib" +DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.3* ) + dev-java/ant-core + ${RDEPEND}" + +src_unpack() { + unpack ${A} + + cd ${S}/lib + #circular deps with jaxen + rm -f $(echo *.jar | sed 's/jaxen[^ ]\+//') + java-pkg_jar-from jaxme + java-pkg_jar-from jsr173 + java-pkg_jar-from msv + java-pkg_jar-from xpp2 + java-pkg_jar-from xpp3 + java-pkg_jar-from relaxng-datatype + java-pkg_jar-from xsdlib + + cd ${S}/lib/endorsed + rm -f *.jar + java-pkg_jar-from xerces-2 || die + + rm -r ${S}/lib/test + # we don't really to fix any of these if we're not doing testing +# # TODO: replace jsr173_1.0_ri.jar +# java-pkg_jar-from ${JUNITPERF} || die + + # We don't need the stuff in tools + rm -r ${S}/lib/tools +# cd ${S}/lib/tools +# # apparently we don't really need clover's jar +# rm clover* +# java-pkg_jar-from ${ISORELAX} || die +# # TODO: replace jaxme-0.3.jar +# # TODO: replace jaxme-js-0.3.jar +# # TODO: replace jaxme-xs-0.3.jar +# java-pkg_jar-from ${TIDY} || die +# java-pkg_jar-from ${XALAN} || die +# java-pkg_jar-from ${XERCES_IMPL} || die +} + +src_compile() { + local antflags="clean package" + use doc && antflags="${antflags} -Dbuild.javadocs=build/doc/api javadoc" + + eant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar build/${PN}.jar + use doc && java-pkg_dohtml -r build/doc/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/dom4j/files/digest-dom4j-1.6.1-r1 b/dev-java/dom4j/files/digest-dom4j-1.6.1-r1 new file mode 100644 index 000000000000..d8185ba880ea --- /dev/null +++ b/dev-java/dom4j/files/digest-dom4j-1.6.1-r1 @@ -0,0 +1,3 @@ +MD5 1e7ef6d20939315714de4a8502f27b2d dom4j-1.6.1.tar.gz 9687211 +RMD160 d990d712a6b58c799366c526b32eb6c84a81e29c dom4j-1.6.1.tar.gz 9687211 +SHA256 01b4abf86bce337a2a900bf121b3107320ba63b4c0f352e1922fbec6e0736c6f dom4j-1.6.1.tar.gz 9687211 |