wok-stable rev 5580
Add: emacs po-mode (0.18) a mode for editing or modifying PO files
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat May 15 22:27:52 2010 +0200 (2010-05-15) |
parents | 81b15cb9231e |
children | 2f2e0fbc2d56 |
files | emacs-pkg-po-mode/description.txt emacs-pkg-po-mode/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-pkg-po-mode/description.txt Sat May 15 22:27:52 2010 +0200 1.3 @@ -0,0 +1,3 @@ 1.4 +For those of you being the lucky users of Emacs, PO mode has been 1.5 +specifically created for providing a cozy environment for editing 1.6 +or modifying PO files.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/emacs-pkg-po-mode/receipt Sat May 15 22:27:52 2010 +0200 2.3 @@ -0,0 +1,36 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="emacs-pkg-po-mode" 2.7 +VERSION="0.18" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="An Emacs major mode for editing or modifying PO files." 2.10 +MAINTAINER="domcox@slitaz.org" 2.11 +DEPENDS="emacs" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.gnu.org/software/hello/manual/gettext/PO-Mode.html" 2.14 +WANTED="gettext" 2.15 + 2.16 + 2.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.18 +genpkg_rules() 2.19 +{ 2.20 + echo -n "Installing po-mode" 2.21 + mkdir -p $fs/usr/share/emacs/site-lisp/po-mode && \ 2.22 + cp -a $_pkg/usr/share/emacs/site-lisp/po*.elc $fs/usr/share/emacs/site-lisp/po-mode 2.23 + status 2.24 + echo -n "Installing start file" 2.25 + mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ 2.26 + cp -a $_pkg/usr/share/emacs/site-lisp//start-po.el \ 2.27 + $fs/usr/share/emacs/site-lisp/site-start.d/50-start-po.el 2.28 + status 2.29 +} 2.30 + 2.31 +post_install() 2.32 +{ 2.33 + tazpkg reconfigure emacs 2.34 +} 2.35 + 2.36 +post_remove() 2.37 +{ 2.38 + tazpkg reconfigure emacs 2.39 +} 2.40 \ No newline at end of file