wok-current view emacs-help/receipt @ rev 14187
coreutils: fix busybox cp link
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 17:43:42 2013 +0100 (2013-03-12) |
parents | a91f4b450f79 |
children | 79065ee962f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-help"
4 VERSION="24.2"
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 }