/[gentoo-x86]/app-text/odt2txt/odt2txt-0.4-r1.ebuild
Gentoo

Contents of /app-text/odt2txt/odt2txt-0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Mar 31 11:59:35 2012 UTC (3 years, 1 month ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +13 -9 lines
Add blocker on app-office/unoconv which is different approach for the solution provided here. Wrt bug#410057.

(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/odt2txt/odt2txt-0.4-r1.ebuild,v 1.5 2011/02/02 15:57:28 halcy0n Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="A simple converter from OpenDocument Text to plain text"
10 HOMEPAGE="http://stosberg.net/odt2txt/"
11 SRC_URI="http://stosberg.net/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 ia64 ~ppc64 sparc x86 ~x86-macos"
16 IUSE=""
17
18 RDEPEND="
19 !app-office/unoconv
20 sys-libs/zlib
21 virtual/libiconv
22 "
23 DEPEND="${RDEPEND}
24 sys-apps/groff
25 "
26
27 src_prepare() {
28 epatch "${FILESDIR}"/${P}-darwin_iconv.patch
29 }
30
31 src_compile() {
32 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
33 }
34
35 src_install() {
36 emake install DESTDIR="${D}" PREFIX=/usr
37 doman odt2txt.1
38 }

  ViewVC Help
Powered by ViewVC 1.1.20