wok diff emacs-pkg-text-translator/receipt @ rev 10827

python-notify: Removed. We have notify-python originally.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 07 00:26:09 2011 +0000 (2011-06-07)
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	Tue Jun 07 00:26:09 2011 +0000
     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 +}