# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-0.7.ebuild,v 1.4 2008/06/22 18:08:25 gentoofan23 Exp $ inherit toolchain-funcs DESCRIPTION="A RSS/Atom feed reader for the text console." HOMEPAGE="http://synflood.at/newsbeuter.html" SRC_URI="http://synflood.at/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=net-libs/libnxml-0.18 >=net-libs/libmrss-0.18 =dev-db/sqlite-3* =dev-libs/stfl-0.14 net-misc/curl" src_unpack() { unpack ${A} cd "${S}" sed -i \ -e "s:-ggdb:${CXXFLAGS}:" \ -e "s:^CXX=.*:CXX=$(tc-getCXX):" \ Makefile } src_compile() { emake prefix="/usr" || die } src_install() { make prefix="${D}/usr" install || die dodoc AUTHORS README mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF}/ rm -rf "${D}"/usr/share/doc/${PN} }