gnu: bigloo: Install Emacs modes.

* gnu/packages/scheme.scm (bigloo): Add `install-emacs-modes' phase.
This commit is contained in:
Ludovic Courtès 2013-02-12 12:16:45 +01:00
parent 01e11826bc
commit 0e7aac44da

@ -150,7 +150,15 @@ development cycle.")
(find-files "gc" "^install-gc"))
(("/bin/rm") (which "rm"))
(("/bin/mv") (which "mv"))))
%standard-phases))))
(alist-cons-after
'install 'install-emacs-modes
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(dir (string-append out "/share/emacs/site-lisp")))
(zero? (system* "make" "-C" "bmacs" "all" "install"
(string-append "EMACSBRAND=emacs24")
(string-append "EMACSDIR=" dir)))))
%standard-phases)))))
(inputs
`(("emacs" ,emacs)
("patch/shebangs" ,(search-patch "bigloo-gc-shebangs.patch"))))