wok-6.x annotate emacs-pkg-po-mode/receipt @ rev 5771
Up: sip and sip-dev (4.10.2)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jul 05 15:39:05 2010 +0000 (2010-07-05) |
parents | |
children | 805d7c16ae38 |
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@5580 | 12 |
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 } |