wok-next view emacs-pkg-text-translator/receipt @ rev 18714
Up openssl (1.0.1q) and depending pkgs (thanks Erkan)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Wed Dec 16 21:14:36 2015 +0100 (2015-12-16) |
parents | 223b265f40fd |
children | d5aab818505e |
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 LICENSE="GPL3"
9 WEB_SITE="http://d.hatena.ne.jp/khiker/20070503/emacs_text_translator"
10 TAGS="emacs"
12 DEPENDS="emacs"
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 stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d
20 status
22 echo -n "Installing text-translator"
23 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && \
24 cp -a stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator
25 status
26 }
28 post_install()
29 {
30 chroot "$1/" tazpkg reconfigure emacs
31 }
33 post_remove()
34 {
35 chroot "$1/" tazpkg reconfigure emacs
36 }