blob: c6fe944108274609c05747c0d2df26bc173a1f3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-0.3.ebuild,v 1.4 2007/05/31 08:00:05 ticho Exp $
inherit toolchain-funcs
DESCRIPTION="A RSS 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
net-libs/libmrss
=dev-db/sqlite-3*
<dev-libs/stfl-0.9
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}
}
|