diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-01-19 17:04:02 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-01-19 17:04:02 +0000 |
commit | 3d46260a3ad916a2cf43515ebdb31cca38c5c74d (patch) | |
tree | d94b9d2498548d091d1994badb13aa7e97101d49 /dev-java/xom | |
parent | updated HOMEPAGE, now it seems there is a site to which it can be set (diff) | |
download | gentoo-2-3d46260a3ad916a2cf43515ebdb31cca38c5c74d.tar.gz gentoo-2-3d46260a3ad916a2cf43515ebdb31cca38c5c74d.tar.bz2 gentoo-2-3d46260a3ad916a2cf43515ebdb31cca38c5c74d.zip |
We don't need to DEPEND on tagsoup as only the betterdoc task, which we don't run, needs it.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-java/xom')
-rw-r--r-- | dev-java/xom/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/xom/files/digest-xom-1.0-r6 | 3 | ||||
-rw-r--r-- | dev-java/xom/xom-1.0-r6.ebuild | 62 |
3 files changed, 72 insertions, 1 deletions
diff --git a/dev-java/xom/ChangeLog b/dev-java/xom/ChangeLog index 04e98e3dc1da..40949ae0303c 100644 --- a/dev-java/xom/ChangeLog +++ b/dev-java/xom/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xom # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/ChangeLog,v 1.42 2008/01/19 16:55:48 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/ChangeLog,v 1.43 2008/01/19 17:04:01 betelgeuse Exp $ + +*xom-1.0-r6 (19 Jan 2008) + + 19 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> +xom-1.0-r6.ebuild: + We don't need to DEPEND on tagsoup as only the betterdoc task, which we + don't run, needs it. 19 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> xom-1.0-r4.ebuild, -xom-1.0-r5.ebuild: diff --git a/dev-java/xom/files/digest-xom-1.0-r6 b/dev-java/xom/files/digest-xom-1.0-r6 new file mode 100644 index 000000000000..27aa669027b5 --- /dev/null +++ b/dev-java/xom/files/digest-xom-1.0-r6 @@ -0,0 +1,3 @@ +MD5 af472e90685eef0ac1e731eb84a49763 xom-1.0.tar.gz 3396586 +RMD160 9e524b87d0cce968aaabe9aff3010de210e23745 xom-1.0.tar.gz 3396586 +SHA256 d37fbb5a2e6f1dd716c1f55f2e2ce6d96f9227788c2cd73e436c1cd087925a16 xom-1.0.tar.gz 3396586 diff --git a/dev-java/xom/xom-1.0-r6.ebuild b/dev-java/xom/xom-1.0-r6.ebuild new file mode 100644 index 000000000000..a4a29dd93567 --- /dev/null +++ b/dev-java/xom/xom-1.0-r6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/xom-1.0-r6.ebuild,v 1.1 2008/01/19 17:04:01 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc examples source" +EAPI=1 + +inherit java-pkg-2 java-ant-2 + +XOMVER="xom-${PV/_beta/b}" +DESCRIPTION="A new XML object model." +HOMEPAGE="http://cafeconleche.org/XOM/index.html" +SRC_URI="http://cafeconleche.org/XOM/${XOMVER}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +COMMON_DEPEND="dev-java/xerces:2 + dev-java/xalan:0 + dev-java/junit:0 + dev-java/icu4j:0 + examples? ( dev-java/servletapi:2.4 )" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEPEND}" + +S=${WORKDIR}/XOM + +src_unpack() { + unpack ${A} + cd "${S}" + java-ant_ignore-system-classes + rm -v *.jar || die + cd "${S}/lib" + rm -v *.jar || die + java-pkg_jar-from junit + java-pkg_jar-from xalan + java-pkg_jar-from xerces-2 + java-pkg_jar-from icu4j icu4j.jar normalizer.jar + # tagsoup is only needed to run betterdoc but we use the pregenerated ones +} + +src_compile() { + ant_flags="-Ddebug=off" + use examples && ant_flags="${ant_flags} -Dservlet.jar=$(java-pkg_getjar servletapi-2.4 servlet-api.jar)" + + eant jar ${ant_flags}\ + $(use examples && echo samples) +} + +src_install() { + java-pkg_newjar build/${XOMVER}.jar ${PN}.jar + use examples && java-pkg_dojar build/xom-samples.jar + dodoc Todo.txt || die + + use doc && java-pkg_dojavadoc apidocs/ + use source && java-pkg_dosrc src/* + use examples && java-pkg_doexamples --subdir nu/xom/samples src/nu/xom/samples +} |