diff options
-rw-r--r-- | dev-java/tigase-utils/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/tigase-utils/Manifest | 4 | ||||
-rw-r--r-- | dev-java/tigase-utils/files/xmltoolsjar.patch | 35 | ||||
-rw-r--r-- | dev-java/tigase-utils/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/tigase-utils/tigase-utils-9999_pre2.ebuild | 48 |
5 files changed, 100 insertions, 0 deletions
diff --git a/dev-java/tigase-utils/ChangeLog b/dev-java/tigase-utils/ChangeLog new file mode 100644 index 000000000..a89cc5f92 --- /dev/null +++ b/dev-java/tigase-utils/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-java/tigase-utils +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 07 Oct 2008; Mads Randstoft (mazzachre) <mads_randstoft@yahoo.dk> + +tigase-utils-9999_pre2.ebuild, +files/xmltoolsjar.patch, +metadata.xml: + New EBuild for Tigase Utils + diff --git a/dev-java/tigase-utils/Manifest b/dev-java/tigase-utils/Manifest new file mode 100644 index 000000000..1a9ffca0e --- /dev/null +++ b/dev-java/tigase-utils/Manifest @@ -0,0 +1,4 @@ +AUX xmltoolsjar.patch 976 RMD160 21c47609dea81acbfeb7419617e7cf1c8a7d3c2f SHA1 9ff194d3afa3bb6f92e322bfc5ff0e3f15617174 SHA256 2f1296b0479618963df695cd34c3563906666f8afe18b9b42ca5cabaf1cb5f49 +EBUILD tigase-utils-9999_pre2.ebuild 1010 RMD160 82da62d2f0cc0019283625276e4ca2243005e097 SHA1 5e4204eeda4e1b6650d65dd3cc04116d3026bfc7 SHA256 ec73ae4265a339e22d05f9849297d39613e2ea68daf365511d2acce84f75efbb +MISC ChangeLog 296 RMD160 c2fe5e176dcb939c4a95e0aeab833046d0696a40 SHA1 3fcee1e61be9c1b2ecef8cf4485f71a549f8062c SHA256 c0896a58716865c6dc91e0b6910f1fb4ae6abd542e55e3829a762de1c1131867 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-java/tigase-utils/files/xmltoolsjar.patch b/dev-java/tigase-utils/files/xmltoolsjar.patch new file mode 100644 index 000000000..db1f02ce6 --- /dev/null +++ b/dev-java/tigase-utils/files/xmltoolsjar.patch @@ -0,0 +1,35 @@ +Index: ant-definitions.xml +=================================================================== +--- ant-definitions.xml (revision 511) ++++ ant-definitions.xml (working copy) +@@ -12,13 +12,9 @@ + excludes="@{excldir}" + destdir="${build}" + debug="on" ++ classpath="${xmltoolsjar}" + deprecation="@{deprecation}"> + <compilerarg line="@{xlint}"/> +- <classpath> +- <fileset dir="${libs}"> +- <include name="**/*.jar"/> +- </fileset> +- </classpath> + </javac> + </sequential> + </macrodef> +@@ -78,14 +74,10 @@ + version="true" + verbose="false" + protected="true" ++ classpath="${xmltoolsjar}" + bottom="${javadoc-copyright}"> + <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/" + packagelistLoc="package-list"/> +- <classpath> +- <fileset dir="${libs}"> +- <include name="**/*.jar"/> +- </fileset> +- </classpath> + </javadoc> + </sequential> + </macrodef> diff --git a/dev-java/tigase-utils/metadata.xml b/dev-java/tigase-utils/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/dev-java/tigase-utils/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-utils/tigase-utils-9999_pre2.ebuild b/dev-java/tigase-utils/tigase-utils-9999_pre2.ebuild new file mode 100644 index 000000000..496ba20e1 --- /dev/null +++ b/dev-java/tigase-utils/tigase-utils-9999_pre2.ebuild @@ -0,0 +1,48 @@ +# 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-utils/trunk" + +inherit subversion java-pkg-2 eutils + +DESCRIPTION="XMPP stanza helper utilities." +HOMEPAGE="http://www.tigase.org/en/project/utils" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-java/ant-1.7 + >=dev-java/tigase-xmltools-3.0 + >=virtual/jdk-1.6.0" + +RDEPEND=">=dev-java/tigase-xmltools-3.0 + >=virtual/jre-1.6.0" + +src_unpack() { + subversion_src_unpack + cd "${S}" + ant clean-all + + epatch "${FILESDIR}/xmltoolsjar.patch" + + sed -i -e "s:libs=libs:xmltoolsjar=$(java-pkg_getjar tigase-xmltools tigase-xmltools.jar):" build.properties +} + +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-utils/api + use source && java-pkg_dosrc src/main/java/ +} |