wok-6.x diff emacs-pkg-text-translator/receipt @ rev 8723

Temp fix waiting sources on mirror for some taz tools, make tank able to cook last version with older tools
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Feb 18 19:05:02 2011 +0100 (2011-02-18)
parents
children 065f12e4515a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/emacs-pkg-text-translator/receipt	Fri Feb 18 19:05:02 2011 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="emacs-pkg-text-translator"
     1.7 +VERSION="0.6.6.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Translates strings on Emacs by using translation services that exists on the Internet."
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11 +DEPENDS="emacs"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://d.hatena.ne.jp/khiker/20070503/emacs_text_translator"
    1.14 +TAGS="emacs"
    1.15 +
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	echo -n "Installing text-translator"
    1.21 +	mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && \
    1.22 +	cp stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator
    1.23 +	status
    1.24 +
    1.25 +	echo -n "Installing start file"
    1.26 +	mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
    1.27 +	cp stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d
    1.28 +	status
    1.29 +}
    1.30 +
    1.31 +post_install()
    1.32 +{
    1.33 +	tazpkg reconfigure emacs
    1.34 +}
    1.35 +
    1.36 +post_remove()
    1.37 +{
    1.38 +	tazpkg reconfigure emacs
    1.39 +}