# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-jabber/emacs-jabber-0.7.1.ebuild,v 1.8 2007/10/15 22:04:37 opfer Exp $ inherit elisp DESCRIPTION="A Jabber client for Emacs" HOMEPAGE="http://emacs-jabber.sourceforge.net/ http://emacswiki.org/cgi-bin/wiki/JabberEl" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~sparc x86" IUSE="sasl" # emacs-jabber depends on >= gnus-5.10 which is available in # app-emacs/gnus or bundled with app-editors/emacs-cvs. emacs 21.4a # includes gnus-5.9 DEPEND=">=virtual/gnus-5.10 sasl? ( virtual/flim )" RDEPEND="${DEPEND}" SITEFILE=70${PN}-gentoo.el src_unpack() { unpack ${A} use sasl || rm "${S}/jabber-sasl.el" } src_compile() { elisp-comp *.el || die "elisp-comp failed" makeinfo jabber.texi || die "makeinfo failed" } src_install() { elisp-install ${PN} *.{el,elc} elisp-site-file-install "${FILESDIR}/${SITEFILE}" doinfo jabber.info dohtml html/* dodoc AUTHORS NEWS README || die "dodoc failed" }