wok-current view emacs-pkg-text-translator/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | 065f12e4515a |
children | 223b265f40fd |
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 by using translation services on the web."
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 start file"
17 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
18 cp -a stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d
19 status
21 echo -n "Installing text-translator"
22 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && \
23 cp -a stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator
24 status
25 }
27 post_install()
28 {
29 tazpkg reconfigure emacs
30 }
32 post_remove()
33 {
34 tazpkg reconfigure emacs
35 }