wok-stable view emacs-help/receipt @ rev 10835
lua: improve receipt and build optimisation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 08 23:16:35 2011 +0200 (2011-06-08) |
parents | a878a8e4e836 |
children | 1fa770660043 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-help"
4 VERSION="23.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/emacs/info && \
18 cp -a $_pkg/usr/share/emacs/info/em* $fs/usr/share/emacs/info && \
19 cp -a $_pkg/usr/share/emacs/info/info $fs/usr/share/emacs/info
20 status
21 # Tutorial
22 echo -n "Copying tutorial files"
23 mkdir -p $fs/usr/share/emacs/$VERSION/etc && \
24 cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials $fs/usr/share/emacs/$VERSION/etc
25 status
26 # Doc
27 echo -n "Copying doc files"
28 DOC_FILES=" COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF GNUS-NEWS HELLO \
29 INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION NEWS NEWS.1-17 \
30 NEWS.19 NEWS.19 NEWS.20 NEWS.21 NEWS.22 NXML-NEWS PROBLEMS TERMS THE-GNU-PROJECT \
31 WHY-FREE compilation.txt enriched.doc gnus-tut.txt grep.txt"
32 for file in $DOC_FILES; do
33 cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc
34 done
35 status
36 }