Install this version:
emerge -a =app-emacs/distel-4.1.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-emacs/distel-4.1.1
Or alternatively:
emerge --autounmask-write -a =app-emacs/distel-4.1.1
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Distributed Emacs Lisp for Erlang"
HOMEPAGE="https://massemanet.github.io/distel/
https://www.emacswiki.org/emacs/DistributedEmacsLisp"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/massemanet/${PN}.git"
else
SRC_URI="https://github.com/massemanet/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
# "New BSD License" according to https://code.google.com/p/distel/
# "MIT" according to https://github.com/massemanet/distel
LICENSE="BSD MIT"
SLOT="0"
IUSE="doc"
RDEPEND="
dev-lang/erlang
|| (
app-emacs/erlang-mode
dev-lang/erlang[emacs(-)]
)
"
BDEPEND="
${RDEPEND}
"
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
dodoc AUTHORS ChangeLog NEWS README*
use doc && dodoc doc/gorrie02distel.pdf
docinto html
dodoc doc/distel/*.html
}
Manage flags for this package:
euse -i <flag> -p app-emacs/distel |
euse -E <flag> -p app-emacs/distel |
euse -D <flag> -p app-emacs/distel
dev-lang/erlang || ( app-emacs/erlang-mode dev-lang/erlang[emacs(-)] )
dev-lang/erlang || ( app-emacs/erlang-mode dev-lang/erlang[emacs(-)] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | distel-4.1.1.tar.gz | 214189 bytes | https://github.com/massemanet/distel/archive/4.1.1.tar.gz |