From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-emacs/distel/distel-4.0.6.ebuild | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app-emacs/distel/distel-4.0.6.ebuild (limited to 'app-emacs/distel/distel-4.0.6.ebuild') diff --git a/app-emacs/distel/distel-4.0.6.ebuild b/app-emacs/distel/distel-4.0.6.ebuild new file mode 100644 index 000000000000..1db4cfa6597b --- /dev/null +++ b/app-emacs/distel/distel-4.0.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 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/ + http://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 +} -- cgit v1.2.3