wok-4.x view emacs-pkg-vala-mode/receipt @ rev 9897

ruby-entreprise: fix rm headers (we have i686 now not i486)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 11:43:54 2011 +0200 (2011-05-17)
parents 9465bbc42ff4
children 3c8ac4fce2c9
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-pkg-vala-mode"
4 VERSION="0.1"
5 CATEGORY="development"
6 SHORT_DESC="An Emacs major mode for editing Vala code."
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 SOURCE="vala-mode"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://live.gnome.org/Vala/Emacs"
12 TAGS="emacs vala"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 echo -n "Installing vala-mode"
19 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode && \
20 cp stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode
21 status
23 echo -n "Installing start file"
24 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
25 cp stuff/80-vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d
26 status
27 }
29 post_install()
30 {
31 tazpkg reconfigure emacs
32 }
34 post_remove()
35 {
36 tazpkg reconfigure emacs
37 }