# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emacs/gnuserv/gnuserv-3.12.7-r1.ebuild,v 1.7 2007/08/22 21:08:43 angelos Exp $ inherit elisp eutils DESCRIPTION="Attach to an already running Emacs" HOMEPAGE="http://meltin.net/hacks/emacs/" SRC_URI="http://meltin.net/hacks/emacs/src/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="" DEPEND="" RDEPEND="|| ( ~app-emacs/gnuserv-programs-${PV} virtual/xemacs )" DOCS="ChangeLog README README.orig" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-path-xemacs.patch" } src_compile() { elisp-comp *.el || die "elisp-comp failed" }