summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Benedikt Morbach <moben@exherbo.org> 2017-05-21 23:33:39 +0200
committerAvatar Benedikt Morbach <moben@exherbo.org> 2017-05-22 13:44:38 +0200
commitd5c6e2faed934bf02849e07477fd28f7fd6a9f92 (patch)
tree80b7f6d628db91a18ed96a6c083f85ba2f7e496a
parent6c7a91088becff9adf558ab3f6929a0f6bda600f (diff)
downloademacs-d5c6e2faed934bf02849e07477fd28f7fd6a9f92.tar.gz
emacs-d5c6e2faed934bf02849e07477fd28f7fd6a9f92.tar.xz
use prefixed phases in exlibs
-rw-r--r--packages/app-emacs/ebib/ebib.exlib4
-rw-r--r--packages/app-emacs/emacs-jabber/emacs-jabber.exlib4
-rw-r--r--packages/app-emacs/geiser/geiser.exlib4
-rw-r--r--packages/app-emacs/slime/slime.exlib8
4 files changed, 14 insertions, 6 deletions
diff --git a/packages/app-emacs/ebib/ebib.exlib b/packages/app-emacs/ebib/ebib.exlib
index 7dc3e5b..d94a7c6 100644
--- a/packages/app-emacs/ebib/ebib.exlib
+++ b/packages/app-emacs/ebib/ebib.exlib
@@ -3,13 +3,15 @@
require elisp [ generate_autoloads=true install_stub=true ]
+export_exlib_phases src_install
+
SUMMARY="BibTeX database manager that runs in GNU Emacs"
LICENCES="BSD-3"
SLOT="0"
MYOPTIONS=""
-src_install() {
+ebib_src_install() {
elisp_src_install
if ever at_least 1.13; then
diff --git a/packages/app-emacs/emacs-jabber/emacs-jabber.exlib b/packages/app-emacs/emacs-jabber/emacs-jabber.exlib
index b04145c..e917635 100644
--- a/packages/app-emacs/emacs-jabber/emacs-jabber.exlib
+++ b/packages/app-emacs/emacs-jabber/emacs-jabber.exlib
@@ -3,6 +3,8 @@
require elisp-module sourceforge [ suffix=tar.lzma ]
+export_exlib_phases src_install
+
SUMMARY="A Jabber client for Emacs"
LICENCES="GPL-2"
@@ -21,7 +23,7 @@ DEFAULT_SRC_CONFIGURE_PARAMS=(
--with-lispdir=${ELISP_SITE_LISP}/jabber
)
-src_install() {
+emacs-jabber_src_install() {
default
elisp-install-site-file
}
diff --git a/packages/app-emacs/geiser/geiser.exlib b/packages/app-emacs/geiser/geiser.exlib
index 1f4f3d9..b14d17b 100644
--- a/packages/app-emacs/geiser/geiser.exlib
+++ b/packages/app-emacs/geiser/geiser.exlib
@@ -3,6 +3,8 @@
require elisp-module
+export_exlib_phases src_install
+
SUMMARY="GNU Emacs and Scheme talk to each other"
DESCRIPTION="
Geiser is a generic Emacs/Scheme interaction mode, featuring an enhanced REPL and a set of minor
@@ -37,7 +39,7 @@ DEPENDENCIES="
DEFAULT_SRC_CONFIGURE_PARAMS=( --with-lispdir=${ELISP_SITE_LISP}/${PN} )
-src_install() {
+geiser_src_install() {
default;
elisp-install-site-file
}
diff --git a/packages/app-emacs/slime/slime.exlib b/packages/app-emacs/slime/slime.exlib
index 0956727..5d24049 100644
--- a/packages/app-emacs/slime/slime.exlib
+++ b/packages/app-emacs/slime/slime.exlib
@@ -3,6 +3,8 @@
require elisp github
+export_exlib_phases src_prepare src_compile src_install
+
SUMMARY="The Superior Lisp Interaction Mode for Emacs"
HOMEPAGE="http://common-lisp.net/project/${PN}/"
@@ -23,7 +25,7 @@ DEPENDENCIES="
dev-lisp/HyperSpec
"
-src_prepare() {
+slime_src_prepare() {
## Fix version detection (pt. 1)
expatch "${FILES}"/slime-changelog.patch
edo sed \
@@ -31,7 +33,7 @@ src_prepare() {
-i slime.el swank-loader.lisp
}
-src_compile() {
+slime_src_compile() {
## Fix version detection (pt. 2)
# slime already stores the version at compile-time, before installation. Thus, ./ChangeLog needs
# to be read. swank only determines it later, from the docdir.
@@ -50,7 +52,7 @@ src_compile() {
emake -C doc slime.info
}
-src_install() {
+slime_src_install() {
elisp-install ${PN} *.{el,elc,lisp}
elisp-install ${PN}/contrib contrib/*.{el,elc,lisp}
elisp-install ${PN}/lib lib/*.{el,elc}