summaryrefslogtreecommitdiff
blob: 4852848e46746814ba01ee27413736358dd2f89f (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/edb/edb-1.31.ebuild,v 1.2 2010/09/09 11:44:30 ulm Exp $

inherit elisp eutils

DESCRIPTION="EDB, The Emacs Database"
HOMEPAGE="http://www.gnuvola.org/software/edb/"
SRC_URI="http://www.gnuvola.org/software/edb/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
IUSE=""

ELISP_PATCHES="${P}-skram-path.patch"
SITEFILE="52${PN}-gentoo.el"

src_compile() {
	econf
	emake -j1 || die
}

src_install() {
	einstall sitelisp="${D}${SITELISP}" || die "einstall failed"
	elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
		|| die "elisp-site-file-install failed"
	dodoc AUTHORS BUGS ChangeLog HACKING NEWS README THANKS TODO \
		doc/refcard.ps || die "dodoc failed"
	insinto /usr/share/doc/${PF}; doins -r examples
}