wok-6.x annotate 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 |
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 WEB_SITE="http://live.gnome.org/Vala/Emacs" |
domcox@8443 | 10 TAGS="emacs vala" |
domcox@8443 | 11 |
domcox@8443 | 12 |
domcox@8443 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@8443 | 14 genpkg_rules() |
domcox@8443 | 15 { |
domcox@8443 | 16 echo -n "Installing vala-mode" |
domcox@8443 | 17 mkdir -p $fs/usr/share/emacs/site-lisp/vala-mode && \ |
domcox@8443 | 18 cp stuff/vala-mode.el $fs/usr/share/emacs/site-lisp/vala-mode |
domcox@8443 | 19 status |
domcox@8443 | 20 |
domcox@8443 | 21 echo -n "Installing start file" |
domcox@8443 | 22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@8449 | 23 cp stuff/80-vala-init.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@8443 | 24 status |
domcox@8443 | 25 } |
domcox@8443 | 26 |
domcox@8443 | 27 post_install() |
domcox@8443 | 28 { |
domcox@8443 | 29 tazpkg reconfigure emacs |
domcox@8443 | 30 } |
domcox@8443 | 31 |
domcox@8443 | 32 post_remove() |
domcox@8443 | 33 { |
domcox@8443 | 34 tazpkg reconfigure emacs |
domcox@8443 | 35 } |