blob: 9b3e1350aa1a3d6062394326c04dbe2c239ca080 (
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
41
|
# 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-db/sqlite-3.5
>=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}
}
|