wok view emacs-pkg-po-mode/receipt @ rev 5864
busybox: remove xz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 19 18:10:37 2010 +0200 (2010-07-19) |
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 }