wok-stable annotate emacs-pkg-lua-mode/receipt @ rev 6774
Fixed gpgme to compile in clean chroot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 18 04:07:50 2010 +0000 (2010-10-18) |
parents | 979a5ed3bfd6 |
children | c6f1305ec65d |
rev | line source |
---|---|
domcox@3938 | 1 # SliTaz package receipt. |
domcox@3938 | 2 |
domcox@3938 | 3 PACKAGE="emacs-pkg-lua-mode" |
domcox@5315 | 4 VERSION="20100404" |
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@6096 | 14 TAGS="emacs lua" |
domcox@3938 | 15 |
domcox@3938 | 16 # Rules to configure and make the package. |
domcox@3938 | 17 compile_rules() |
domcox@3938 | 18 { |
domcox@3938 | 19 echo -n "Byte-compilating lua-mode.el" |
domcox@3938 | 20 emacs -batch -f batch-byte-compile $WOK/$PACKAGE/$SOURCE.el 2> /dev/null |
domcox@3938 | 21 status |
domcox@3938 | 22 } |
domcox@3938 | 23 |
domcox@3938 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@3938 | 25 genpkg_rules() |
domcox@3938 | 26 { |
domcox@3938 | 27 echo -n "Installing lua-mode" |
domcox@3938 | 28 mkdir -p $fs/usr/share/emacs/site-lisp/lua-mode && \ |
domcox@3938 | 29 cp $WOK/$PACKAGE/*.elc $fs/usr/share/emacs/site-lisp/lua-mode |
domcox@3938 | 30 status |
domcox@3938 | 31 echo -n "Installing start file" |
domcox@3938 | 32 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@3938 | 33 cp stuff/*.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@3938 | 34 status |
domcox@3938 | 35 } |
domcox@3939 | 36 |
domcox@3939 | 37 post_install() |
domcox@3939 | 38 { |
domcox@3939 | 39 tazpkg reconfigure emacs |
domcox@3939 | 40 } |
domcox@3939 | 41 |
domcox@3939 | 42 post_remove() |
domcox@3939 | 43 { |
domcox@3939 | 44 tazpkg reconfigure emacs |
domcox@3939 | 45 } |