summaryrefslogtreecommitdiff
blob: 8f5958522cd7774b6f01321b26aa59d396d44e9e (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-gabble/telepathy-gabble-0.4.5.ebuild,v 1.1 2006/11/13 12:01:44 peper Exp $

DESCRIPTION="A Jabber/XMPP connection manager, this handles single and multi user chats and voice calls."
HOMEPAGE="http://telepathy.freedesktop.org"
SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug loudmouth"

DEPEND=">=dev-libs/glib-2.4
	>=sys-apps/dbus-0.61
	loudmouth? ( >=net-libs/loudmouth-1.1.1 )"
RDEPEND="${DEPEND}"

src_compile(){
	econf \
		$(use_enable debug) \
		$(use_enable debug handle-leak-debug) \
		$(use_enable loudmouth) \
		|| die "econf failed"
	emake || die "emake failed"
}

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

pkg_postinst() {
	elog "You don't need to start telepathy-gabble manualy any more."
	elog "dbus will take care of that."
}