diff options
author | 2005-06-29 18:37:51 +0000 | |
---|---|---|
committer | 2005-06-29 18:37:51 +0000 | |
commit | d7e67dee0f180a6195d1680b7696c26a1e540664 (patch) | |
tree | 7f36fc420501f9914ccf2c2a43d7e95cc753c0bd /dev-java/relaxng-datatype | |
parent | new packages, dep of dom4j, ebuild contributed by Josh Nichols <nichoj@alum.r... (diff) | |
download | gentoo-2-d7e67dee0f180a6195d1680b7696c26a1e540664.tar.gz gentoo-2-d7e67dee0f180a6195d1680b7696c26a1e540664.tar.bz2 gentoo-2-d7e67dee0f180a6195d1680b7696c26a1e540664.zip |
new packages, dep of dom4j, ebuild contributed by Josh Nichols <nichoj@alum.rpi.edu>
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/relaxng-datatype')
-rw-r--r-- | dev-java/relaxng-datatype/Manifest | 3 | ||||
-rw-r--r-- | dev-java/relaxng-datatype/relaxng-datatype-1.0.ebuild | 48 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/relaxng-datatype/Manifest b/dev-java/relaxng-datatype/Manifest new file mode 100644 index 000000000000..bda38766bcaf --- /dev/null +++ b/dev-java/relaxng-datatype/Manifest @@ -0,0 +1,3 @@ +MD5 ddfe7c014241a1d782a17bc5f2731024 relaxng-datatype-1.0.ebuild 1012 +MD5 96a39cd43588e4f12ff5456a863d810b files/digest-relaxng-datatype-1.0 67 +MD5 ebbff7778f132e9e205c25d4daa5e84f files/relaxng-datatype-1.0-build_xml.patch 1972 diff --git a/dev-java/relaxng-datatype/relaxng-datatype-1.0.ebuild b/dev-java/relaxng-datatype/relaxng-datatype-1.0.ebuild new file mode 100644 index 000000000000..c2f980e09cf4 --- /dev/null +++ b/dev-java/relaxng-datatype/relaxng-datatype-1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/relaxng-datatype/relaxng-datatype-1.0.ebuild,v 1.1 2005/06/29 18:37:51 axxo Exp $ + +inherit java-pkg eutils + +MY_PN="relaxngDatatype" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Interface between RELAX NG validators and datatype libraries" +HOMEPAGE="http://relaxng.org/" +SRC_URI="mirror://sourceforge/relaxng/${MY_P}.zip" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc jikes source" + +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip + source? ( app-arch/zip ) + jikes? ( dev-java/jikes ) + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.3" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + rm -f *.jar + epatch ${FILESDIR}/${P}-build_xml.patch +} + +src_compile() { + local antflags="jar" + use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} javadoc" + + ant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar ${MY_PN}.jar + dodoc README.txt + + use doc && java-pkg_dohtml -r doc/api + use source && java-pkg_dosrc src/* +} |