wok view emacs-pkg-po-mode/receipt @ rev 6310
Up: m4 to 1.4.15.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 20:57:21 2010 +0000 (2010-09-16) |
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 }