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

c_icap: Fix receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 04 22:37:40 2012 +0100 (2012-03-04)
parents 02e84802e6ea
children
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 }