diff options
-rw-r--r-- | dev-java/xom/Manifest | 4 | ||||
-rw-r--r-- | dev-java/xom/files/digest-xom-1.0.14 | 1 | ||||
-rw-r--r-- | dev-java/xom/xom-1.0.14.ebuild | 37 |
3 files changed, 40 insertions, 2 deletions
diff --git a/dev-java/xom/Manifest b/dev-java/xom/Manifest index e04bc253d427..67bb1b6edca2 100644 --- a/dev-java/xom/Manifest +++ b/dev-java/xom/Manifest @@ -1,3 +1,3 @@ -MD5 9e86a5d32781c4813ec3dcaebb44f54b xom-1.0.14.ebuild 976 -MD5 97fc8ec9d5cdd2235e064202f7cc4649 ChangeLog 311 +MD5 4b2e47ea39118bb1c01c6e7a5cbf2e81 xom-1.0.14.ebuild 1073 +MD5 8fad2c66574a562f2b4713a62aa392ff ChangeLog 400 MD5 209356975b01190324cd237655c057cc files/digest-xom-1.0.14 60 diff --git a/dev-java/xom/files/digest-xom-1.0.14 b/dev-java/xom/files/digest-xom-1.0.14 new file mode 100644 index 000000000000..8703f3a9c7ff --- /dev/null +++ b/dev-java/xom/files/digest-xom-1.0.14 @@ -0,0 +1 @@ +MD5 b2bb8af907f26d3c1f38ead57c097936 xom-1.0d14.zip 2302469 diff --git a/dev-java/xom/xom-1.0.14.ebuild b/dev-java/xom/xom-1.0.14.ebuild new file mode 100644 index 000000000000..afe69cdb9cf4 --- /dev/null +++ b/dev-java/xom/xom-1.0.14.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/xom-1.0.14.ebuild,v 1.1 2003/05/26 08:48:48 absinthe Exp $ + +inherit java-pkg + +#This is ugly but portage barfs with the name set to xom-10.d14 +S=${WORKDIR}/XOM +XOMVER="xom-1.0d14" +DESCRIPTION="XOM is a new XML object model. It is a tree-based API for processing XML with Java that strives for correctness and simplicity." +SRC_URI="http://cafeconleche.org/XOM/${XOMVER}.zip" +HOMEPAGE="http://cafeconleche.org/XOM/index.html" +DEPEND=">=dev-java/ant-1.4" +RDEPEND=">=virtual/jdk-1.2" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="doc" + +src_compile() { + local myc + cd ${WORKDIR}/XOM + myc="${myc} -Ddebug=off" + ANT_OPTS=${myc} ant jar || die "Failed Compiling" +} + +src_install () { + mv ${WORKDIR}/XOM/build/${XOMVER}.jar xom.jar + java-pkg_dojar xom.jar || die "Failed Installing" + dodoc Todo.txt + + if [ -n "`use doc`" ] ; then + dodir /usr/share/doc/${P} + cd ${WORKDIR}/XOM/ + dohtml -r apidocs/ + fi +} |