blob: 29620d57b523912c9e881c8e226446ea20478042 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mell/mell-1.0.0.ebuild,v 1.14 2007/12/02 15:14:47 opfer Exp $
inherit elisp
DESCRIPTION="M Emacs Lisp Library"
HOMEPAGE="http://taiyaki.org/elisp/mell/"
SRC_URI="http://taiyaki.org/elisp/mell/src/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="alpha ~amd64 ppc ppc64 x86"
SLOT="0"
IUSE=""
SITEFILE=50${PN}-gentoo.el
src_compile() {
econf --with-emacs-sitelispdir="${D}/usr/share/emacs/site-lisp" \
--with-mell-docdir="${D}/usr/share/doc/${PF}/html" \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
einstall || die "einstall failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dosed "${SITELISP}/init-mell.el" || die "dosed failed"
dodoc README AUTHORS NEWS ChangeLog
}
|