You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emacs/anything/anything-1.3.2.ebuild

41 lines
1005 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/anything/anything-1.3.2.ebuild,v 1.1 2011/10/11 20:15:02 ulm Exp $
EAPI=4
inherit elisp
DESCRIPTION="Open anything - QuickSilver-like candidate-selection framework"
HOMEPAGE="http://www.emacswiki.org/emacs/Anything"
# snapshot from http://repo.or.cz/w/anything-config.git
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="extensions"
S="${WORKDIR}/anything-config"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp-compile *.el || die
elisp-make-autoload-file || die
if use extensions; then
BYTECOMPFLAGS="-L . -L extensions" elisp-compile extensions/*.el || die
fi
}
src_install() {
elisp-install ${PN} *.{el,elc} || die
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
if use extensions; then
elisp-install ${PN} extensions/*.{el,elc} || die
fi
dodoc README doc/anything.pdf
}