wok view emacs-pkg-vala-mode/receipt @ rev 11722

Up: emacs to 23.4 again. I think it maybe fix from my last commit.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 20 16:50:59 2012 -0500 (2012-02-20)
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 }