1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="rtf/html/text conversion utility"
10 HOMEPAGE="http://docfrac.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz"
15 KEYWORDS="~amd64 ~x86"
22 -e "/CPPFLAGS=/s:-.*::" \
23 -e "s:ar -:$(tc-getAR) -:" \
24 -e "s:g++ -:$(tc-getCXX) -:g" \
25 Makefile || die "sed failed in Makefile"
27 epatch "${FILESDIR}"/${PV}-gcc46.patch
35 # manual install because Makefile doesn't respect DESTDIR