wok diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-pkg-lua-mode/receipt Fri Aug 21 21:49:57 2009 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="emacs-pkg-lua-mode" 1.7 +VERSION="20071122" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="An Emacs major mode for editing Lua code." 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +DEPENDS="emacs" 1.12 +BUILD_DEPENDS="emacs" 1.13 +SOURCE="lua-mode" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WEB_SITE="http://lua-mode.luaforge.net" 1.16 +WGET_URL="http://luaforge.net/frs/download.php/2724/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + echo -n "Byte-compilating lua-mode.el" 1.22 + emacs -batch -f batch-byte-compile $WOK/$PACKAGE/$SOURCE.el 2> /dev/null 1.23 + status 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + echo -n "Installing lua-mode" 1.30 + mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \ 1.31 + cp $WOK/$PACKAGE/*.elc $fs/usr/share/emacs/site-lisp/lua-mode 1.32 + status 1.33 + echo -n "Installing start file" 1.34 + mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ 1.35 + cp stuff/*.el $fs/usr/share/emacs/site-lisp/site-start.d 1.36 + status 1.37 +}