wok-6.x view emacs-pkg-text-translator/receipt @ rev 12766

ecm: Sync with wok-tank. Add ecm-extras.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 12 11:12:53 2012 +0000 (2012-05-12)
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 }