wok-current annotate emacs-pkg-lua-mode/receipt @ rev 4769

Fix: gimp DEPENDS on libexif to use jpeg images
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 11 19:27:02 2010 +0100 (2010-01-11)
parents 6aae08641f1e
children 979a5ed3bfd6
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 }
domcox@3939 35
domcox@3939 36 post_install()
domcox@3939 37 {
domcox@3939 38 tazpkg reconfigure emacs
domcox@3939 39 }
domcox@3939 40
domcox@3939 41 post_remove()
domcox@3939 42 {
domcox@3939 43 tazpkg reconfigure emacs
domcox@3939 44 }