wok-stable view emacs-pkg-text-translator/receipt @ rev 11481
libgtop: add glib to depends; add intltool to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:01:59 2011 +0100 (2011-12-18) |
parents | |
children | 065f12e4515a |
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 on Emacs by using translation services that exists on the Internet."
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://d.hatena.ne.jp/khiker/20070503/emacs_text_translator"
11 TAGS="emacs"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 echo -n "Installing text-translator"
18 mkdir -p $fs/usr/share/emacs/site-lisp/text-translator && \
19 cp stuff/text*.el $fs/usr/share/emacs/site-lisp/text-translator
20 status
22 echo -n "Installing start file"
23 mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
24 cp stuff/90*.el $fs/usr/share/emacs/site-lisp/site-start.d
25 status
26 }
28 post_install()
29 {
30 tazpkg reconfigure emacs
31 }
33 post_remove()
34 {
35 tazpkg reconfigure emacs
36 }