wok-current annotate emacs-pkg-go-mode/receipt @ rev 16668
Add tesseract-ocr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 14 12:14:30 2014 +0000 (2014-05-14) |
parents | |
children | dfef8de3d270 |
rev | line source |
---|---|
domcox@16007 | 1 # SliTaz package receipt. |
domcox@16007 | 2 |
domcox@16007 | 3 PACKAGE="emacs-pkg-go-mode" |
domcox@16007 | 4 VERSION="1.2.1" |
domcox@16007 | 5 CATEGORY="development" |
domcox@16007 | 6 SHORT_DESC="An Emacs major mode for editing Go code." |
domcox@16007 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@16007 | 8 LICENSE="GPL3" |
domcox@16007 | 9 BUILD_DEPENDS="emacs" |
domcox@16007 | 10 WEB_SITE="http://www.golang.org" |
domcox@16007 | 11 WANTED="go" |
domcox@16007 | 12 TAGS="emacs go" |
domcox@16007 | 13 |
domcox@16007 | 14 DEPENDS="emacs" |
domcox@16007 | 15 |
domcox@16007 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@16007 | 17 genpkg_rules() |
domcox@16007 | 18 { |
domcox@16007 | 19 echo -n "Installing start file" |
domcox@16007 | 20 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@16007 | 21 cp -a stuff/80-go-init.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@16007 | 22 status |
domcox@16007 | 23 |
domcox@16007 | 24 echo -n "Installing go-mode" |
domcox@16007 | 25 mkdir -p $fs/usr/share/emacs/site-lisp/go-mode && \ |
domcox@16007 | 26 cp -a $src/misc/emacs/* $fs/usr/share/emacs/site-lisp/go-mode |
domcox@16007 | 27 status |
domcox@16007 | 28 } |
domcox@16007 | 29 |
domcox@16007 | 30 post_install() |
domcox@16007 | 31 { |
domcox@16007 | 32 tazpkg reconfigure emacs |
domcox@16007 | 33 } |
domcox@16007 | 34 |
domcox@16007 | 35 post_remove() |
domcox@16007 | 36 { |
domcox@16007 | 37 tazpkg reconfigure emacs |
domcox@16007 | 38 } |