wok-next annotate emacs-pkg-text-translator/receipt @ rev 18620
Up slitaz-base-files(287)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 21 17:54:19 2015 +0200 (2015-11-21) |
parents | 223b265f40fd |
children | d5aab818505e |
rev | line source |
---|---|
domcox@8451 | 1 # SliTaz package receipt. |
domcox@8451 | 2 |
domcox@8451 | 3 PACKAGE="emacs-pkg-text-translator" |
domcox@8451 | 4 VERSION="0.6.6.1" |
domcox@8451 | 5 CATEGORY="development" |
domcox@14089 | 6 SHORT_DESC="Translates strings by using translation services on the web." |
domcox@8451 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@15202 | 8 LICENSE="GPL3" |
domcox@8451 | 9 WEB_SITE="http://d.hatena.ne.jp/khiker/20070503/emacs_text_translator" |
domcox@8451 | 10 TAGS="emacs" |
domcox@8451 | 11 |
pascal@15202 | 12 DEPENDS="emacs" |
domcox@8451 | 13 |
domcox@8451 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@8451 | 15 genpkg_rules() |
domcox@8451 | 16 { |
domcox@14089 | 17 echo -n "Installing start file" |
domcox@14089 | 18 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@14089 | 19 cp -a stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@14089 | 20 status |
domcox@14089 | 21 |
domcox@8451 | 22 echo -n "Installing text-translator" |
domcox@8451 | 23 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && \ |
domcox@14089 | 24 cp -a stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator |
domcox@8451 | 25 status |
domcox@8451 | 26 } |
domcox@8451 | 27 |
domcox@8451 | 28 post_install() |
domcox@8451 | 29 { |
pascal@17552 | 30 chroot "$1/" tazpkg reconfigure emacs |
domcox@8451 | 31 } |
domcox@8451 | 32 |
domcox@8451 | 33 post_remove() |
domcox@8451 | 34 { |
pascal@17552 | 35 chroot "$1/" tazpkg reconfigure emacs |
domcox@8451 | 36 } |