summaryrefslogtreecommitdiff
blob: 56ca98b19c10677e23dbac47ce9b3a8276bf03f6 (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
# 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.2.ebuild,v 1.1 2006/10/25 14:34:37 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)
	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."
}