wok-next view emacs-pkg-lua-mode/receipt @ rev 14116
dnsmasq: up 2.65
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Sun Feb 24 16:13:22 2013 -0800 (2013-02-24) |
parents | d0643861276a |
children | 11e8d8600d29 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-pkg-lua-mode"
4 VERSION="20111107"
5 CATEGORY="development"
6 SHORT_DESC="An Emacs major mode for editing Lua code."
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 BUILD_DEPENDS="emacs"
10 WEB_SITE="http://immerrr.github.com/lua-mode/"
11 TAGS="emacs lua"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 echo -n "Installing start file"
18 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
19 cp -a $stuff/90-lua-mode.el $fs/usr/share/emacs/site-lisp/site-start.d
20 status
22 echo -n "Installing lua-mode"
23 mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \
24 cp -a $stuff/lua-mode.el $fs/usr/share/emacs/site-lisp/lua-mode
25 status
27 # byte-compile files, remove src
28 cd $fs/usr/share/emacs/site-lisp/lua-mode
29 for file in *.el ; do
30 echo -n "Byte-compiling $file"
31 emacs -batch -f batch-byte-compile $file 2> /dev/null
32 status
33 rm -f $file
34 done
35 }
37 post_install()
38 {
39 tazpkg reconfigure emacs
40 }
42 post_remove()
43 {
44 tazpkg reconfigure emacs
45 }