wok-current diff emacs-pkg-po-mode/receipt @ rev 5934

netsurf: add missing file.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 30 22:41:51 2010 +0200 (2010-07-30)
parents
children 805d7c16ae38
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/emacs-pkg-po-mode/receipt	Fri Jul 30 22:41:51 2010 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="emacs-pkg-po-mode"
     1.7 +VERSION="0.18"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="An Emacs major mode for editing or modifying PO files."
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11 +DEPENDS="emacs"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.gnu.org/software/hello/manual/gettext/PO-Mode.html"
    1.14 +WANTED="gettext"
    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 po-mode"
    1.21 +	mkdir -p $fs/usr/share/emacs/site-lisp/po-mode && \
    1.22 +	cp -a $_pkg/usr/share/emacs/site-lisp/po*.elc $fs/usr/share/emacs/site-lisp/po-mode
    1.23 +	status
    1.24 +	echo -n "Installing start file"
    1.25 +	mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \
    1.26 +	cp -a $_pkg/usr/share/emacs/site-lisp//start-po.el \
    1.27 +		$fs/usr/share/emacs/site-lisp/site-start.d/50-start-po.el
    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 +}
    1.40 \ No newline at end of file