diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-11 21:28:28 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-11 21:28:28 +0000 |
commit | 95650847c45c3969c6fbf5864718b044e9931416 (patch) | |
tree | 11edbf3b685d85143066f71f6afb8cf7545219e6 /dev-java/nanoxml/nanoxml-2.2.3.ebuild | |
parent | sync IUSE (+junit) (diff) | |
download | gentoo-2-95650847c45c3969c6fbf5864718b044e9931416.tar.gz gentoo-2-95650847c45c3969c6fbf5864718b044e9931416.tar.bz2 gentoo-2-95650847c45c3969c6fbf5864718b044e9931416.zip |
version bump
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/nanoxml/nanoxml-2.2.3.ebuild')
-rw-r--r-- | dev-java/nanoxml/nanoxml-2.2.3.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-java/nanoxml/nanoxml-2.2.3.ebuild b/dev-java/nanoxml/nanoxml-2.2.3.ebuild new file mode 100644 index 000000000000..56dae468ebe3 --- /dev/null +++ b/dev-java/nanoxml/nanoxml-2.2.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/nanoxml/nanoxml-2.2.3.ebuild,v 1.1 2005/07/11 21:28:28 axxo Exp $ + +inherit java-pkg + +DESCRIPTION="NanoXML is a small non-validating parser for Java. " + +HOMEPAGE="http://nanoxml.sourceforge.net/" +MY_P=NanoXML-${PV} +SRC_URI="http://nanoxml.cyberelf.be/downloads/${MY_P}.tar.gz" +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="doc" +DEPEND=">=virtual/jdk-1.3 + ${RDEPEND}" +RDEPEND=">=virtual/jre-1.3 + dev-java/sax" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S}/ThirdParty/SAX + java-pkg_jar-from sax + cd ${S} + sed -e "s:/tmp/:${T}:g" -i build.sh || die "failed to sed" +} + +src_compile() { + ./build.sh || die "failed to build" +} + +src_install() { + java-pkg_dojar Output/*.jar + + use doc && java-pkg_dohtml -r Documentation/* +} |