wok-stable view emacs-help/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents aa285ce6348c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-help"
4 VERSION="23.4"
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/em* $fs/usr/share/info && \
19 cp -a $_pkg/usr/share/info/info $fs/usr/share/info
20 status
21 # Tutorial
22 echo -n "Copying tutorial files"
23 mkdir -p $fs/usr/share/emacs/${VERSION:0:4}/etc && \
24 cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/tutorials $fs/usr/share/emacs/${VERSION:0:4}/etc
25 status
26 # Doc
27 echo -n "Copying doc files"
28 DOC_FILES=" COOKIES DOC-${VERSION:0:4}.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:0:4}/etc/$file $fs/usr/share/emacs/${VERSION:0:4}/etc
34 done
35 status
36 }