wok-6.x annotate emacs-pkg-text-translator/receipt @ rev 14175
Up linux (3.2.40)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 10 13:32:17 2013 +0100 (2013-03-10) |
parents | 065f12e4515a |
children | 223b265f40fd |
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" |
domcox@8451 | 8 DEPENDS="emacs" |
domcox@8451 | 9 WEB_SITE="http://d.hatena.ne.jp/khiker/20070503/emacs_text_translator" |
domcox@8451 | 10 TAGS="emacs" |
domcox@8451 | 11 |
domcox@8451 | 12 |
domcox@8451 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@8451 | 14 genpkg_rules() |
domcox@8451 | 15 { |
domcox@14089 | 16 echo -n "Installing start file" |
domcox@14089 | 17 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ |
domcox@14089 | 18 cp -a stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d |
domcox@14089 | 19 status |
domcox@14089 | 20 |
domcox@8451 | 21 echo -n "Installing text-translator" |
domcox@8451 | 22 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && \ |
domcox@14089 | 23 cp -a stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator |
domcox@8451 | 24 status |
domcox@8451 | 25 } |
domcox@8451 | 26 |
domcox@8451 | 27 post_install() |
domcox@8451 | 28 { |
domcox@8451 | 29 tazpkg reconfigure emacs |
domcox@8451 | 30 } |
domcox@8451 | 31 |
domcox@8451 | 32 post_remove() |
domcox@8451 | 33 { |
domcox@8451 | 34 tazpkg reconfigure emacs |
domcox@8451 | 35 } |