summaryrefslogtreecommitdiff
blob: db7ef85445d7e13436a4b52a04cabb6e0adc8fc2 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-news/blam/blam-1.4.1.ebuild,v 1.1 2004/09/23 21:14:21 latexer Exp $

inherit mono gnome2

DESCRIPTION="A RSS aggregator written in C#"
HOMEPAGE="http://micke.hallendal.net/"
SRC_URI="http://ftp.imendio.com/pub/imendio/${PN}/src/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"

IUSE=""
DEPEND=">=dev-dotnet/mono-1.0
		>=x11-libs/gtk-sharp-1.0
		>=gnome-base/gconf-2.4"

src_unpack() {
	if [ ! -f ${ROOT}/usr/share/gapi/gtkhtml-api.xml ]
	then
		echo
		eerror "No gtkhtml-sharp support found. Please re-emerge"
		eerror "gtk-sharp with 'gtkhtml' in your USE flags, and then"
		eerror "emerge blam."
		die "gtkhtml-sharp support missing."
	fi

	unpack ${A}
}

src_compile() {
	econf || die
	emake -j1 || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}