summaryrefslogtreecommitdiff
blob: f614552cff250d97c7bce49ac4f42d71c5a8c5c9 (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
42
43
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/mcabber-0.7.4.ebuild,v 1.2 2006/09/24 23:31:35 troll Exp $

DESCRIPTION="A small Jabber console client that includes features such as SSL
support, MUC (Multi-User Chat) support, history logging, commands completion,
and external actions triggers."

HOMEPAGE="http://www.lilotux.net/~mikael/mcabber/"

SRC_URI="http://www.lilotux.net/~mikael/mcabber/files/${P}.tar.bz2"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~x86 ~ppc ~alpha ~mips ~sparc ~amd64"

IUSE="ssl"

DEPEND="ssl? ( >=dev-libs/openssl-0.9.7-r1 )
	>=dev-libs/glib-2.0.0
	sys-libs/ncurses"

src_compile() {
	econf \
		$(use_with ssl) \
		|| die "econf failed"

	emake || die "emake failed"
}

src_install() {
	einstall || die "einstall failed"
	dodoc ${S}/mcabberrc.example
}

pkg_postinst() {
	einfo "MCabber requires you to create a configuration file in your home directory."
	einfo "A template of such file was installed as part of the documentation for this software."
	einfo "This file is intended to be self-documenting."
	einfo "See the CONFIGURATION FILE and FILES sections of mcabber(1) for more information."
}