wok-current view emacs-pkg-text-translator/receipt @ rev 12725
fox14: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 13:03:47 2012 +0200 (2012-05-05) |
parents | 7935aa4dacbe |
children | f2430744a95d |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-pkg-text-translator"
4 VERSION="0.6.6.1"
5 CATEGORY="development"
6 SHORT_DESC="Translates strings on Emacs by using translation services that exists on the Internet."
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 WEB_SITE="http://d.hatena.ne.jp/khiker/20070503/emacs_text_translator"
10 TAGS="emacs"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 echo -n "Installing text-translator"
17 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && \
18 cp stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator
19 status
21 echo -n "Installing start file"
22 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
23 cp stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d
24 status
25 }
27 post_install()
28 {
29 tazpkg reconfigure emacs
30 }
32 post_remove()
33 {
34 tazpkg reconfigure emacs
35 }