wok-next view emacs-help/receipt @ rev 14825

Up: xfce4 (4.10.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:51:29 2013 +0200 (2013-07-17)
parents ab1303888287
children 223b265f40fd
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-help"
4 VERSION="24.3"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Emacs editor - Help files"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 WEB_SITE="http://www.gnu.org/software/emacs/"
10 WANTED="emacs"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 # Help files
16 echo -n "Copying info files"
17 mkdir -p $fs/usr/share/info && \
18 cp -a $_pkg/usr/share/info/* $fs/usr/share/info && \
19 status
20 # Tutorial
21 echo -n "Copying tutorial files"
22 mkdir -p $fs/usr/share/emacs/$VERSION/etc && \
23 cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials \
24 $fs/usr/share/emacs/$VERSION/etc
25 status
26 # refcards
27 echo -n "Copying refcards"
28 mkdir -p $fs/usr/share/emacs/$VERSION/etc/refcards && \
29 cp -a $_pkg/usr/share/emacs/$VERSION/etc/refcards/*pdf \
30 $fs/usr/share/emacs/$VERSION/etc/refcards
31 status
32 # Doc
33 echo -n "Copying doc files"
34 DOC_FILES="COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF \
35 GNUS-NEWS HELLO INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION \
36 NEWS.* NXML-NEWS ORG-NEWS PROBLEMS TERMS THE-GNU-PROJECT WHY-FREE \
37 compilation.txt gnus-tut.txt grep.txt"
38 for file in $DOC_FILES; do
39 cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file \
40 $fs/usr/share/emacs/$VERSION/etc
41 done
42 status
43 }