wok-6.x view emacs-pkg-po-mode/receipt @ rev 6218
Up: cdrdao, cdrdao-utils to 1.2.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 11 17:15:59 2010 +0000 (2010-09-11) |
parents | bcfe5fa6a00f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-pkg-po-mode"
4 VERSION="0.18"
5 CATEGORY="development"
6 SHORT_DESC="An Emacs major mode for editing or modifying PO files."
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/hello/manual/gettext/PO-Mode.html"
11 WANTED="gettext"
12 TAGS="emacs po mode"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 echo -n "Installing po-mode"
18 mkdir -p $fs/usr/share/emacs/site-lisp/po-mode && \
19 cp -a $_pkg/usr/share/emacs/site-lisp/po*.elc $fs/usr/share/emacs/site-lisp/po-mode
20 status
21 echo -n "Installing start file"
22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
23 cp -a $_pkg/usr/share/emacs/site-lisp//start-po.el \
24 $fs/usr/share/emacs/site-lisp/site-start.d/50-start-po.el
25 status
26 }
28 post_install()
29 {
30 tazpkg reconfigure emacs
31 }
33 post_remove()
34 {
35 tazpkg reconfigure emacs
36 }