wok-6.x view emacs-pkg-po-mode/receipt @ rev 5917

Up busybox (1.17.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 28 11:45:40 2010 +0200 (2010-07-28)
parents
children 805d7c16ae38
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"
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 }