blob: b0cdc9f49d4a9a40276772670fd599c1cdb6a716 (
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
38
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit elisp
DESCRIPTION="Distributed Emacs Lisp for Erlang"
HOMEPAGE="https://code.google.com/p/distel/
https://www.emacswiki.org/emacs/DistributedEmacsLisp"
SRC_URI="https://github.com/massemanet/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
# "New BSD License" according to https://code.google.com/p/distel/
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND=">=dev-lang/erlang-11.2.5[emacs]"
RDEPEND="${DEPEND}"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
emake base info
cd elisp || die
elisp-compile *.el
}
src_install() {
emake prefix="${ED}"/usr \
ELISP_DIR="${ED}${SITELISP}/${PN}" install
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
doinfo doc/distel.info
dohtml doc/distel/*.html
dodoc AUTHORS ChangeLog NEWS README*
use doc && dodoc doc/gorrie02distel.pdf
}
|