blob: 5ca4a05ae85278ed334273a7058876c983a652ad (
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
35
36
37
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit elisp
DESCRIPTION="The Emacs Learning Instruction Program"
HOMEPAGE="http://www.gnuvola.org/software/elip/"
SRC_URI="http://www.gnuvola.org/software/elip/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=app-emacs/edb-1.31"
RDEPEND="${DEPEND}"
SITEFILE=50${PN}-gentoo.el
# this is not redundant, since src_compile is redefined by elisp.eclass
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
# the build system of the package is horribly broken,
# so we install everything manually
elisp-install ${PN} source/*.{el,elc}
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
doinfo doc/elip.info*
dodoc ChangeLog ChangeLog.OLD NEWS README
insinto /usr/share/doc/${PF}
doins doc/elip.pdf
doins -r examples
}
|