# Copyright 1999-2007 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.3 2007/05/06 11:45:59 genone 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() { elog "MCabber requires you to create a configuration file in your home directory." elog "A template of such file was installed as part of the documentation for this software." elog "This file is intended to be self-documenting." elog "See the CONFIGURATION FILE and FILES sections of mcabber(1) for more information." }