From 63b2b69768ade326e83ee13cc74ab6f6b2c5df6e Mon Sep 17 00:00:00 2001 From: "LABBE Corentin (Montjoie)" Date: Wed, 11 Aug 2010 14:19:21 +0000 Subject: app-text/odt2txt: New Ebuild for bug 263574 thanks to hwoarang for reviewing svn path=/sunrise/; revision=11119 --- app-text/odt2txt/ChangeLog | 9 +++++++ app-text/odt2txt/Manifest | 6 +++++ .../odt2txt/files/odt2txt-0.4-darwin_iconv.patch | 14 ++++++++++ .../files/odt2txt-0.4-hardened_makefile.patch | 12 +++++++++ app-text/odt2txt/metadata.xml | 6 +++++ app-text/odt2txt/odt2txt-0.4.ebuild | 31 ++++++++++++++++++++++ 6 files changed, 78 insertions(+) create mode 100644 app-text/odt2txt/ChangeLog create mode 100644 app-text/odt2txt/Manifest create mode 100644 app-text/odt2txt/files/odt2txt-0.4-darwin_iconv.patch create mode 100644 app-text/odt2txt/files/odt2txt-0.4-hardened_makefile.patch create mode 100644 app-text/odt2txt/metadata.xml create mode 100644 app-text/odt2txt/odt2txt-0.4.ebuild (limited to 'app-text') diff --git a/app-text/odt2txt/ChangeLog b/app-text/odt2txt/ChangeLog new file mode 100644 index 000000000..3d71d09fd --- /dev/null +++ b/app-text/odt2txt/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-text/odt2txt +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 11 Aug 2010; LABBE Corentin (Montjoie) + + + no-herd + maintainer-wanted@gentoo.org + diff --git a/app-text/odt2txt/odt2txt-0.4.ebuild b/app-text/odt2txt/odt2txt-0.4.ebuild new file mode 100644 index 000000000..24f1361dd --- /dev/null +++ b/app-text/odt2txt/odt2txt-0.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="A simple converter from OpenDocument Text to plain text" +HOMEPAGE="http://stosberg.net/odt2txt/" +SRC_URI="http://stosberg.net/odt2txt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-macos" +IUSE="" + +RDEPEND="sys-libs/zlib + virtual/libiconv" +DEPEND="sys-apps/groff + $RDEPEND" + +src_prepare() { + epatch "${FILESDIR}"/${P}-hardened_makefile.patch || die + epatch "${FILESDIR}"/${P}-darwin_iconv.patch || die +} + +src_install() { + emake install DESTDIR="${D}" PREFIX=/usr || die + doman odt2txt.1 || die +} -- cgit v1.2.3-65-gdbad