diff options
author | Mads Randstoft (mazzachre) <mads_randstoft@yahoo.dk> | 2008-10-07 08:00:37 +0000 |
---|---|---|
committer | Mads Randstoft (mazzachre) <mads_randstoft@yahoo.dk> | 2008-10-07 08:00:37 +0000 |
commit | 4bb2e493771c8387ce89d2d64c14fbaa541f6974 (patch) | |
tree | b029404d196c62f93803d61f23d86c4d5b740b20 /dev-java | |
parent | Automatic update to categories (diff) | |
download | sunrise-4bb2e493771c8387ce89d2d64c14fbaa541f6974.tar.gz sunrise-4bb2e493771c8387ce89d2d64c14fbaa541f6974.tar.bz2 sunrise-4bb2e493771c8387ce89d2d64c14fbaa541f6974.zip |
dev-java/tigase-xmltools: New Ebuild for tigase XMLTools
svn path=/sunrise/; revision=7193
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/tigase-xmltools/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/tigase-xmltools/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/tigase-xmltools/tigase-xmltools-9999_pre2.ebuild | 42 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/tigase-xmltools/ChangeLog b/dev-java/tigase-xmltools/ChangeLog new file mode 100644 index 000000000..939cef4a7 --- /dev/null +++ b/dev-java/tigase-xmltools/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-java/tigase-xmltools +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 06 Oct 2008; Mads Randstoft (mazzachre) <mads_randstoft@yahoo.dk> + +tigase-xmltools-9999_pre2.ebuild, +metadata.xml: + New Ebuild for tigase-xmltools + diff --git a/dev-java/tigase-xmltools/metadata.xml b/dev-java/tigase-xmltools/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/dev-java/tigase-xmltools/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/dev-java/tigase-xmltools/tigase-xmltools-9999_pre2.ebuild b/dev-java/tigase-xmltools/tigase-xmltools-9999_pre2.ebuild new file mode 100644 index 000000000..602d96132 --- /dev/null +++ b/dev-java/tigase-xmltools/tigase-xmltools-9999_pre2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +JAVA_PKG_IUSE="doc source" + +ESVN_REPO_URI="https://svn.tigase.org/reps/tigase-xmltools/trunk" + +inherit subversion java-pkg-2 eutils + +DESCRIPTION="XML tools designed for XMPP." +HOMEPAGE="http://www.tigase.org/en/project/xmltools" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-java/ant-1.7 + >=virtual/jdk-1.6.0" + +RDEPEND=">=virtual/jre-1.6.0" + +src_unpack() { + subversion_src_unpack + cd "${S}" + ant clean-all +} + +src_compile() { + ant jar || die "Compile failed" + if use doc; then + ant docs || die "Docs failed" + fi +} + +src_install() { + java-pkg_dojar jars/*.jar + + use doc && java-pkg_dojavadoc docs-tigase-xmltools/api + use source && java-pkg_dosrc src/main/java/ +} |