wok annotate emacs-pkg-lua-mode/receipt @ rev 3938
emacs: up to 23.1
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Fri Aug 21 21:49:57 2009 +0200 (2009-08-21) |
parents | |
children | 4cf5da7c32ac |
rev | line source |
---|---|
domcox@3938 | 1 # SliTaz package receipt. |
domcox@3938 | 2 |
domcox@3938 | 3 PACKAGE="emacs-pkg-lua-mode" |
domcox@3938 | 4 VERSION="20071122" |
domcox@3938 | 5 CATEGORY="development" |
domcox@3938 | 6 SHORT_DESC="An Emacs major mode for editing Lua code." |
domcox@3938 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@3938 | 8 DEPENDS="emacs" |
domcox@3938 | 9 BUILD_DEPENDS="emacs" |
domcox@3938 | 10 SOURCE="lua-mode" |
domcox@3938 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@3938 | 12 WEB_SITE="http://lua-mode.luaforge.net" |
domcox@3938 | 13 WGET_URL="http://luaforge.net/frs/download.php/2724/$TARBALL" |
domcox@3938 | 14 |
domcox@3938 | 15 # Rules to configure and make the package. |
domcox@3938 | 16 compile_rules() |
domcox@3938 | 17 { |
domcox@3938 | 18 echo -n "Byte-compilating lua-mode.el" |
domcox@3938 | 19 emacs -batch -f batch-byte-compile $WOK/$PACKAGE/$SOURCE.el 2> /dev/null |
domcox@3938 | 20 status |
domcox@3938 | 21 } |
domcox@3938 | 22 |
domcox@3938 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@3938 | 24 genpkg_rules() |
domcox@3938 | 25 { |
domcox@3938 | 26 echo -n "Installing lua-mode" |
domcox@3938 | 27 mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \ |
domcox@3938 | 28 cp $WOK/$PACKAGE/*.elc $fs/usr/share/emacs/site-lisp/lua-mode |
domcox@3938 | 29 status |
domcox@3938 | 30 echo -n "Installing start file" |
domcox@3938 | 31 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@3938 | 32 cp stuff/*.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@3938 | 33 status |
domcox@3938 | 34 } |