summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2010-02-19 16:02:08 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2010-02-19 16:02:08 +0000
commitdd5209fcbe06032fd443f7706161a9d164c9c3a3 (patch)
treef5b507d2cc9b7043ff46545352999b3bc5ae8eb2
parentPut paman in my own tree (from gentoo cvs) as I use it and the official alter... (diff)
downloadpauldv-dd5209fcbe06032fd443f7706161a9d164c9c3a3.tar.gz
pauldv-dd5209fcbe06032fd443f7706161a9d164c9c3a3.tar.bz2
pauldv-dd5209fcbe06032fd443f7706161a9d164c9c3a3.zip
Add a package for htmlcleaner, one of the many requirements of davmail
svn path=/trunk/overlay/; revision=112
-rw-r--r--dev-java/htmlcleaner/Manifest2
-rw-r--r--dev-java/htmlcleaner/htmlcleaner-2.1.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/htmlcleaner/Manifest b/dev-java/htmlcleaner/Manifest
new file mode 100644
index 0000000..f74ecc8
--- /dev/null
+++ b/dev-java/htmlcleaner/Manifest
@@ -0,0 +1,2 @@
+DIST htmlcleaner2_1-all.zip 1647368 RMD160 f0025a8c1b4ba592fc3a0f754bd03874678a8d4a SHA1 d3adc0389dd69bb89a2874ea3904e82cdb9b5de2 SHA256 f4e4dda3bf06554b35c84d145ae686a708edf2cf7f6594940fa3d9754ef4f7e2
+EBUILD htmlcleaner-2.1.ebuild 1144 RMD160 cee9edeaa143d469f85f1898b1ba5bb723bc6c9c SHA1 c11404a31059d01777261ecdd20a476b6d8cf73c SHA256 012bd98d8e0996084a385b3ce28a8d0d9a71b5e26e7801b8018321621fb809b6
diff --git a/dev-java/htmlcleaner/htmlcleaner-2.1.ebuild b/dev-java/htmlcleaner/htmlcleaner-2.1.ebuild
new file mode 100644
index 0000000..a1772f7
--- /dev/null
+++ b/dev-java/htmlcleaner/htmlcleaner-2.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+REV=929
+RESTRICT="nomirror"
+MYP="${PN}${PV/./_}"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Transforms HTML to well-formed XML"
+
+COMMONDEPEND="
+ dev-java/jdom
+ "
+DEPEND=">=virtual/jdk-1.6
+ dev-java/junit:4
+ app-arch/unzip
+ ${COMMONDEPEND}"
+RDEPEND=">=virtual/jre-1.6
+ ${COMMONDEPEND}"
+
+EANT_BUILD_TARGET="jar"
+
+
+# Homepage, not used by Portage directly but handy for developer reference
+HOMEPAGE="http://htmlcleaner.sf.net/"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="mirror://sourceforge/${PN}/${MYP}-all.zip"
+
+LICENSE="as-is"
+SLOT="2"
+KEYWORDS="~amd64"
+IUSE=""
+
+src_unpack() {
+ mkdir "${S}"
+ cd "${S}"
+ unpack ${A}
+# epatch ${FILESDIR}/build.diff
+}
+
+src_prepare() {
+ cd "${S}/lib"
+ rm -v *.jar || die
+ java-pkg_jar-from jdom-1.0 jdom.jar jdom.jar
+ java-pkg_jar-from ant-core ant.jar
+ java-pkg_jar-from junit-4 junit.jar junit-4.4.jar
+}
+
+src_install () {
+ java-pkg_newjar ${MYP}.jar
+# java-pkg_dolauncher ${PN} \
+#
+}