diff options
author | 2011-01-20 10:12:10 +0000 | |
---|---|---|
committer | 2011-01-20 10:12:10 +0000 | |
commit | bcef11de47d58f3defa73a308309a4fb76aef3e9 (patch) | |
tree | cb4c6edfea92fa4efcee16907e85a336938f7d7a /app-text/odt2txt | |
parent | Bump to EAPI2, respect multilib paths, remove obsolete bits fixing man chmods... (diff) | |
download | gentoo-2-bcef11de47d58f3defa73a308309a4fb76aef3e9.tar.gz gentoo-2-bcef11de47d58f3defa73a308309a4fb76aef3e9.tar.bz2 gentoo-2-bcef11de47d58f3defa73a308309a4fb76aef3e9.zip |
Respect CC,CFLAGS. Bug #351794
(Portage version: 2.1.9.33/cvs/Linux x86_64)
Diffstat (limited to 'app-text/odt2txt')
-rw-r--r-- | app-text/odt2txt/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/odt2txt/odt2txt-0.4-r1.ebuild | 34 |
2 files changed, 41 insertions, 2 deletions
diff --git a/app-text/odt2txt/ChangeLog b/app-text/odt2txt/ChangeLog index 6d645676f2f2..c9c11802e635 100644 --- a/app-text/odt2txt/ChangeLog +++ b/app-text/odt2txt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/odt2txt -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/odt2txt/ChangeLog,v 1.2 2010/11/28 14:33:02 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/odt2txt/ChangeLog,v 1.3 2011/01/20 10:12:10 hwoarang Exp $ + +*odt2txt-0.4-r1 (20 Jan 2011) + + 20 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +odt2txt-0.4-r1.ebuild: + Respect CC,CFLAGS. Bug #351794 28 Nov 2010; Raúl Porcel <armin76@gentoo.org> odt2txt-0.4.ebuild: Add ~alpha/~ia64/~sparc wrt #296794 diff --git a/app-text/odt2txt/odt2txt-0.4-r1.ebuild b/app-text/odt2txt/odt2txt-0.4-r1.ebuild new file mode 100644 index 000000000000..6b6a21668583 --- /dev/null +++ b/app-text/odt2txt/odt2txt-0.4-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/odt2txt/odt2txt-0.4-r1.ebuild,v 1.1 2011/01/20 10:12:10 hwoarang Exp $ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="A simple converter from OpenDocument Text to plain text" +HOMEPAGE="http://stosberg.net/odt2txt/" +SRC_URI="http://stosberg.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86 ~x86-macos" +IUSE="" + +RDEPEND="sys-libs/zlib + virtual/libiconv" +DEPEND="sys-apps/groff + ${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-darwin_iconv.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake install DESTDIR="${D}" PREFIX=/usr || die + doman odt2txt.1 || die +} |