wok-stable annotate emacs-pkg-po-mode/receipt @ rev 6096
Add TAGS:emacs-pkg-lua-mode emacs-pkg-po-mode input-utils
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Aug 30 22:08:35 2010 +0200 (2010-08-30) |
parents | bcfe5fa6a00f |
children |
rev | line source |
---|---|
domcox@5580 | 1 # SliTaz package receipt. |
domcox@5580 | 2 |
domcox@5580 | 3 PACKAGE="emacs-pkg-po-mode" |
domcox@5580 | 4 VERSION="0.18" |
domcox@5580 | 5 CATEGORY="development" |
domcox@5580 | 6 SHORT_DESC="An Emacs major mode for editing or modifying PO files." |
domcox@5580 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@5580 | 8 DEPENDS="emacs" |
domcox@5580 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@5580 | 10 WEB_SITE="http://www.gnu.org/software/hello/manual/gettext/PO-Mode.html" |
domcox@5580 | 11 WANTED="gettext" |
domcox@6096 | 12 TAGS="emacs po mode" |
domcox@5580 | 13 |
domcox@5580 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@5580 | 15 genpkg_rules() |
domcox@5580 | 16 { |
domcox@5580 | 17 echo -n "Installing po-mode" |
domcox@5580 | 18 mkdir -p $fs/usr/share/emacs/site-lisp/po-mode && \ |
domcox@5580 | 19 cp -a $_pkg/usr/share/emacs/site-lisp/po*.elc $fs/usr/share/emacs/site-lisp/po-mode |
domcox@5580 | 20 status |
domcox@5580 | 21 echo -n "Installing start file" |
domcox@5580 | 22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@5580 | 23 cp -a $_pkg/usr/share/emacs/site-lisp//start-po.el \ |
domcox@5580 | 24 $fs/usr/share/emacs/site-lisp/site-start.d/50-start-po.el |
domcox@5580 | 25 status |
domcox@5580 | 26 } |
domcox@5580 | 27 |
domcox@5580 | 28 post_install() |
domcox@5580 | 29 { |
domcox@5580 | 30 tazpkg reconfigure emacs |
domcox@5580 | 31 } |
domcox@5580 | 32 |
domcox@5580 | 33 post_remove() |
domcox@5580 | 34 { |
domcox@5580 | 35 tazpkg reconfigure emacs |
domcox@5580 | 36 } |