wok-current view emacs-pkg-po-mode/receipt @ rev 14097
udisks:fix deps
author | ernia <monghitri@aruba.it> |
---|---|
date | Sat Feb 23 09:34:55 2013 +0000 (2013-02-23) |
parents | e439deff3a85 |
children | f8c578364093 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-pkg-po-mode"
4 VERSION="0.18.1.1"
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 BUILD_DEPENDS="emacs"
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 start file"
18 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
19 cp -a $src/gettext-tools/misc/start-po.el \
20 $fs/usr/share/emacs/site-lisp/site-start.d/50-start-po.el
21 status
23 echo -n "Installing po-mode"
24 mkdir -p $fs/usr/share/emacs/site-lisp/po-mode && \
25 cp -a $src/gettext-tools/misc/po*.el $fs/usr/share/emacs/site-lisp/po-mode
26 status
28 # byte-compile files, remove src
29 cd $fs/usr/share/emacs/site-lisp/po-mode/
30 for file in *.el ; do
31 echo -n "Byte-compiling $file"
32 emacs -batch -f batch-byte-compile $file 2> /dev/null
33 status
34 rm -f $file
35 done
36 }
38 post_install()
39 {
40 tazpkg reconfigure emacs
41 }
43 post_remove()
44 {
45 tazpkg reconfigure emacs
46 }