summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/html2text/ChangeLog10
-rw-r--r--app-text/html2text/html2text-1.3.2-r1.ebuild35
2 files changed, 43 insertions, 2 deletions
diff --git a/app-text/html2text/ChangeLog b/app-text/html2text/ChangeLog
index 605069e62c8c..bd4f093ad129 100644
--- a/app-text/html2text/ChangeLog
+++ b/app-text/html2text/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/html2text
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/html2text/ChangeLog,v 1.33 2008/03/27 20:59:41 jer Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/html2text/ChangeLog,v 1.34 2009/03/19 13:41:39 flameeyes Exp $
+
+*html2text-1.3.2-r1 (19 Mar 2009)
+
+ 19 Mar 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +html2text-1.3.2-r1.ebuild:
+ Fix some obvious QA problems, always apply the 1.3.2a patch.
27 Mar 2008; Jeroen Roovers <jer@gentoo.org> html2text-1.3.2.ebuild:
Stable for HPPA too.
diff --git a/app-text/html2text/html2text-1.3.2-r1.ebuild b/app-text/html2text/html2text-1.3.2-r1.ebuild
new file mode 100644
index 000000000000..fe41d2cf9b45
--- /dev/null
+++ b/app-text/html2text/html2text-1.3.2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/html2text/html2text-1.3.2-r1.ebuild,v 1.1 2009/03/19 13:41:39 flameeyes Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A HTML to text converter"
+HOMEPAGE="http://www.mbayer.de/html2text/index.shtml"
+SRC_URI="http://userpage.fu-berlin.de/~mbayer/tools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch 1.3.2_to_1.3.2a.diff
+ epatch "${FILESDIR}"/${P}-compiler.patch
+}
+
+src_compile() {
+ econf || die
+ emake CXX="$(tc-getCXX)" LDFLAGS="${LDFLAGS}" DEBUG="${CXXFLAGS}" || die
+}
+
+src_install() {
+ dobin html2text || die "dobin failed"
+ doman html2text.1.gz html2textrc.5.gz || die "doman failed"
+ dodoc CHANGES CREDITS KNOWN_BUGS README TODO
+}