wok-4.x annotate emacs-pkg-vala-mode/receipt @ rev 8443
Add: emacs-pkg-vala-mode
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 06 21:13:45 2011 +0100 (2011-02-06) |
parents | |
children | 02e84802e6ea |
rev | line source |
---|---|
domcox@8443 | 1 # SliTaz package receipt. |
domcox@8443 | 2 |
domcox@8443 | 3 PACKAGE="emacs-pkg-vala-mode" |
domcox@8443 | 4 VERSION="0.1" |
domcox@8443 | 5 CATEGORY="development" |
domcox@8443 | 6 SHORT_DESC="An Emacs major mode for editing Vala code." |
domcox@8443 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@8443 | 8 DEPENDS="emacs" |
domcox@8443 | 9 SOURCE="vala-mode" |
domcox@8443 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@8443 | 11 WEB_SITE="http://live.gnome.org/Vala/Emacs" |
domcox@8443 | 12 TAGS="emacs vala" |
domcox@8443 | 13 |
domcox@8443 | 14 |
domcox@8443 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@8443 | 16 genpkg_rules() |
domcox@8443 | 17 { |
domcox@8443 | 18 echo -n "Installing vala-mode" |
domcox@8443 | 19 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode && \ |
domcox@8443 | 20 cp stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode |
domcox@8443 | 21 status |
domcox@8443 | 22 |
domcox@8443 | 23 echo -n "Installing start file" |
domcox@8443 | 24 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@8443 | 25 cp stuff/vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@8443 | 26 status |
domcox@8443 | 27 } |
domcox@8443 | 28 |
domcox@8443 | 29 post_install() |
domcox@8443 | 30 { |
domcox@8443 | 31 tazpkg reconfigure emacs |
domcox@8443 | 32 } |
domcox@8443 | 33 |
domcox@8443 | 34 post_remove() |
domcox@8443 | 35 { |
domcox@8443 | 36 tazpkg reconfigure emacs |
domcox@8443 | 37 } |