wok-next annotate emacs-help/receipt @ rev 15432

Up: eina (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:57:26 2013 +0100 (2013-11-05)
parents 79065ee962f3
children 051931e905b0
rev   line source
domcox@3938 1 # SliTaz package receipt.
domcox@3938 2
domcox@3938 3 PACKAGE="emacs-help"
domcox@14191 4 VERSION="24.3"
domcox@3938 5 CATEGORY="development"
domcox@3938 6 SHORT_DESC="The GNU Emacs editor - Help files"
domcox@3938 7 MAINTAINER="domcox@slitaz.org"
pascal@15202 8 LICENSE="GPL3"
domcox@3938 9 WEB_SITE="http://www.gnu.org/software/emacs/"
domcox@3938 10 WANTED="emacs"
domcox@3938 11
pascal@15202 12 DEPENDS="emacs"
pascal@15202 13
domcox@3938 14 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@3938 15 genpkg_rules()
domcox@3938 16 {
domcox@3938 17 # Help files
domcox@3938 18 echo -n "Copying info files"
slaxemulator@11722 19 mkdir -p $fs/usr/share/info && \
domcox@14083 20 cp -a $_pkg/usr/share/info/* $fs/usr/share/info && \
domcox@3938 21 status
domcox@3938 22 # Tutorial
domcox@3938 23 echo -n "Copying tutorial files"
domcox@14083 24 mkdir -p $fs/usr/share/emacs/$VERSION/etc && \
domcox@14083 25 cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials \
domcox@14083 26 $fs/usr/share/emacs/$VERSION/etc
domcox@14083 27 status
domcox@14083 28 # refcards
domcox@14083 29 echo -n "Copying refcards"
domcox@14083 30 mkdir -p $fs/usr/share/emacs/$VERSION/etc/refcards && \
domcox@14083 31 cp -a $_pkg/usr/share/emacs/$VERSION/etc/refcards/*pdf \
domcox@14083 32 $fs/usr/share/emacs/$VERSION/etc/refcards
domcox@3938 33 status
domcox@3938 34 # Doc
domcox@3938 35 echo -n "Copying doc files"
domcox@14083 36 DOC_FILES="COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF \
domcox@14083 37 GNUS-NEWS HELLO INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION \
domcox@14083 38 NEWS.* NXML-NEWS ORG-NEWS PROBLEMS TERMS THE-GNU-PROJECT WHY-FREE \
domcox@14083 39 compilation.txt gnus-tut.txt grep.txt"
domcox@3938 40 for file in $DOC_FILES; do
domcox@14083 41 cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file \
domcox@14083 42 $fs/usr/share/emacs/$VERSION/etc
domcox@3938 43 done
domcox@3938 44 status
domcox@3938 45 }
domcox@3938 46