wok-6.x view emacs-pkg-vala-mode/receipt @ rev 12080

Add usb-modeswitch-data help use sell phone as modem
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 09 13:51:51 2012 +0100 (2012-03-09)
parents 02e84802e6ea
children 62aaad21141d
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 WEB_SITE="http://live.gnome.org/Vala/Emacs"
10 TAGS="emacs vala"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 echo -n "Installing vala-mode"
17 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode && \
18 cp stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode
19 status
21 echo -n "Installing start file"
22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
23 cp stuff/80-vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d
24 status
25 }
27 post_install()
28 {
29 tazpkg reconfigure emacs
30 }
32 post_remove()
33 {
34 tazpkg reconfigure emacs
35 }