blob: 97cfa7df1a0c4b99900c7bf48548bd463baa5073 (
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.7.ebuild,v 1.1 2007/10/21 11:52:15 ticho 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}
}
|