wok view emacs-lisp-sources/receipt @ rev 15195
Add pbzip2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 03 15:12:27 2013 +0000 (2013-09-03) |
parents | f505e31f1f77 |
children | 223b265f40fd |
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 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 # lisp files
16 LISP_DIR="lisp lisp/calc lisp/calendar lisp/cedet lisp/cedet/ede \
17 lisp/cedet/semantic lisp/cedet/semantic/analyze lisp/cedet/semantic/bovine \
18 lisp/cedet/semantic/decorate lisp/cedet/semantic/symref lisp/cedet/srecode \
19 lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \
20 lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net \
21 lisp/nxml lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes \
22 lisp/url lisp/vc"
24 for dir in $LISP_DIR; do
25 echo -n "Copying $dir sources"
26 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
27 cp -a $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz \
28 $fs/usr/share/$WANTED/$VERSION/$dir
29 status
30 done
31 # Use linux term only
32 LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
33 echo -n "Copying lisp/term sources"
34 mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \
35 for file in $LINUX_TERM; do
36 cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file \
37 $fs/usr/share/$WANTED/$VERSION/lisp/term
38 done
39 status
40 # leim files
41 LEIM_FILES="leim/ja-dic leim/quail"
42 for dir in $LEIM_FILES; do
43 echo -n "Copying $dir sources"
44 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
45 cp -a $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz \
46 $fs/usr/share/$WANTED/$VERSION/$dir && \
47 status
48 done
49 # refcards
50 echo -n "Copying refcards sources"
51 mkdir -p $fs/usr/share/$WANTED/$VERSION/etc/refcards
52 cp -a $_pkg/usr/share/$WANTED/$VERSION/etc/refcards/*tex \
53 $fs/usr/share/$WANTED/$VERSION/etc/refcards
54 status
55 # Doc
56 echo -n "Copying doc files"
57 DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
58 for file in $DOC_FILES; do
59 cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file \
60 $fs/usr/share/emacs/$VERSION/etc
61 done
62 status
63 }