wok view emacs-lisp-sources/receipt @ rev 12191
Add pwauth (use system passwd to auth user, maybe used in our CGI tools)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 26 01:27:26 2012 +0200 (2012-03-26) |
parents | aa285ce6348c |
children | f505e31f1f77 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-lisp-sources"
4 VERSION="23.4"
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 lisp/cedet/semantic \
17 lisp/cedet/semantic/analyze lisp/cedet/semantic/bovine lisp/cedet/semantic/decorate \
18 lisp/cedet/semantic/symref lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation \
19 lisp/erc lisp/eshell lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e \
20 lisp/net lisp/nxml lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url"
22 for dir in $LISP_DIR; do
23 echo -n "Copying $dir sources"
24 mkdir -p $fs/usr/share/$WANTED/${VERSION:0:4}/$dir && \
25 cp $_pkg/usr/share/$WANTED/${VERSION:0:4}/$dir/*.el.gz $fs/usr/share/$WANTED/${VERSION:0:4}/$dir
26 status
27 done
28 # Use linux term only
29 LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
30 echo -n "Copying lisp/term sources"
31 mkdir -p $fs/usr/share/$WANTED/${VERSION:0:4}/lisp/term && \
32 for file in $LINUX_TERM; do
33 cp -a $_pkg/usr/share/$WANTED/${VERSION:0:4}/lisp/term/$file $fs/usr/share/$WANTED/${VERSION:0:4}/lisp/term
34 done
35 status
36 # leim files
37 LEIM_FILES="leim/ja-dic leim/quail"
38 for dir in $LEIM_FILES; do
39 echo -n "Copying $dir sources"
40 mkdir -p $fs/usr/share/$WANTED/${VERSION:0:4}/$dir && \
41 cp $_pkg/usr/share/$WANTED/${VERSION:0:4}/$dir/*.el.gz $fs/usr/share/$WANTED/${VERSION:0:4}/$dir && \
42 status
43 done
44 # Doc
45 echo -n "Copying doc files"
46 DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
47 for file in $DOC_FILES; do
48 cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/$file $fs/usr/share/emacs/${VERSION:0:4}/etc
49 done
50 status
51 }