summaryrefslogtreecommitdiff
blob: 9389ef78d0cd9d973a08096e73a70fc18e25154b (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.0.54.ebuild,v 1.2 2004/08/03 02:05:46 latexer Exp $

inherit mono

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

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

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
}