summaryrefslogtreecommitdiff
blob: 3948b2a0bd6d10f24d9fa59c0f326d8bdd3a09bb (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.3 2004/10/26 21:54:42 latexer Exp $

inherit mono gnome2

DESCRIPTION="A RSS aggregator written in C#"
HOMEPAGE="http://www.imendio.com/projects/blam/"
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
		>=dev-dotnet/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
}