wok-current view emacs-pkg-text-translator/receipt @ rev 12670

Up: tazpanel (1.5.4)
author Dominique Corbex <domcox@slitaz.org>
date Tue May 01 13:04:04 2012 +0200 (2012-05-01)
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 }