summaryrefslogtreecommitdiff
blob: a2ad7aae0b76ecd8f61559c9ec488adfc3af612d (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/twitux/twitux-0.61.ebuild,v 1.3 2008/04/20 15:50:32 welp Exp $

EAPI=1

DESCRIPTION="A Twitter client for the Gnome desktop"
HOMEPAGE="http://live.gnome.org/DanielMorales/Twitux"
SRC_URI="mirror://sourceforge/twitux/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="spell gnome-keyring"

DEPEND="net-libs/libsoup:2.4
	dev-libs/libxml2
	gnome-base/libglade
	gnome-base/libgnome
	gnome-base/gconf
	x11-libs/gtk+:2
	dev-libs/dbus-glib
	spell? ( app-text/aspell )
	gnome-keyring? ( gnome-base/gnome-keyring )"
RDEPEND="${DEPEND}"

src_compile() {
	econf $(use_enable spell) \
		$(use_enable gnome-keyring) || die "econf failed"

	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS NEWS README TODO
}