wok-next view emacs-help/receipt @ rev 15362
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 02 13:07:29 2013 +0000 (2013-10-02) |
parents | 79065ee962f3 |
children | 051931e905b0 |
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 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/emacs/"
10 WANTED="emacs"
12 DEPENDS="emacs"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 # Help files
18 echo -n "Copying info files"
19 mkdir -p $fs/usr/share/info && \
20 cp -a $_pkg/usr/share/info/* $fs/usr/share/info && \
21 status
22 # Tutorial
23 echo -n "Copying tutorial files"
24 mkdir -p $fs/usr/share/emacs/$VERSION/etc && \
25 cp -a $_pkg/usr/share/emacs/$VERSION/etc/tutorials \
26 $fs/usr/share/emacs/$VERSION/etc
27 status
28 # refcards
29 echo -n "Copying refcards"
30 mkdir -p $fs/usr/share/emacs/$VERSION/etc/refcards && \
31 cp -a $_pkg/usr/share/emacs/$VERSION/etc/refcards/*pdf \
32 $fs/usr/share/emacs/$VERSION/etc/refcards
33 status
34 # Doc
35 echo -n "Copying doc files"
36 DOC_FILES="COOKIES DOC-$VERSION.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF \
37 GNUS-NEWS HELLO INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION \
38 NEWS.* NXML-NEWS ORG-NEWS PROBLEMS TERMS THE-GNU-PROJECT WHY-FREE \
39 compilation.txt gnus-tut.txt grep.txt"
40 for file in $DOC_FILES; do
41 cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file \
42 $fs/usr/share/emacs/$VERSION/etc
43 done
44 status
45 }