wok-current view emacs-lisp-sources/receipt @ rev 18474
gzip: add zgrep to packaged files list
author | nneul@neulinger.org |
---|---|
date | Mon Oct 05 18:50:36 2015 +0000 (2015-10-05) |
parents | 223b265f40fd |
children | bb2badbb79d8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-lisp-sources"
4 VERSION="24.3"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Emacs editor - Lisp source 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 # lisp files
18 LISP_DIR="lisp lisp/calc lisp/calendar lisp/cedet lisp/cedet/ede \
19 lisp/cedet/semantic lisp/cedet/semantic/analyze lisp/cedet/semantic/bovine \
20 lisp/cedet/semantic/decorate lisp/cedet/semantic/symref lisp/cedet/srecode \
21 lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \
22 lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net \
23 lisp/nxml lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes \
24 lisp/url lisp/vc"
26 for dir in $LISP_DIR; do
27 echo -n "Copying $dir sources"
28 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
29 cp -a $install/usr/share/$WANTED/$VERSION/$dir/*.el.gz \
30 $fs/usr/share/$WANTED/$VERSION/$dir
31 status
32 done
33 # Use linux term only
34 LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
35 echo -n "Copying lisp/term sources"
36 mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \
37 for file in $LINUX_TERM; do
38 cp -a $install/usr/share/$WANTED/$VERSION/lisp/term/$file \
39 $fs/usr/share/$WANTED/$VERSION/lisp/term
40 done
41 status
42 # leim files
43 LEIM_FILES="leim/ja-dic leim/quail"
44 for dir in $LEIM_FILES; do
45 echo -n "Copying $dir sources"
46 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
47 cp -a $install/usr/share/$WANTED/$VERSION/$dir/*.el.gz \
48 $fs/usr/share/$WANTED/$VERSION/$dir && \
49 status
50 done
51 # refcards
52 echo -n "Copying refcards sources"
53 mkdir -p $fs/usr/share/$WANTED/$VERSION/etc/refcards
54 cp -a $install/usr/share/$WANTED/$VERSION/etc/refcards/*tex \
55 $fs/usr/share/$WANTED/$VERSION/etc/refcards
56 status
57 # Doc
58 echo -n "Copying doc files"
59 DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
60 for file in $DOC_FILES; do
61 cp -a $install/usr/share/emacs/$VERSION/etc/$file \
62 $fs/usr/share/emacs/$VERSION/etc
63 done
64 status
65 }