wok-current view emacs-lisp-sources/receipt @ rev 5192

Up: sftp-server (5.4p1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Mar 27 23:39:02 2010 +0100 (2010-03-27)
parents
children a878a8e4e836
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-lisp-sources"
4 VERSION="23.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Emacs editor - Lisp source files"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="emacs"
9 BUILD_DEPENDS=
10 WEB_SITE="http://www.gnu.org/software/emacs/"
11 WANTED="emacs"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 # lisp files
17 LISP_DIR=" lisp lisp/calc lisp/calendar lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \
18 lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net lisp/nxml \
19 lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url"
20 for dir in $LISP_DIR; do
21 echo -n "Copying $dir sources"
22 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
23 cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir
24 status
25 done
26 # Use linux term only
27 LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
28 echo -n "Copying lisp/term sources"
29 mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \
30 for file in $LINUX_TERM; do
31 cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/lisp/term
32 done
33 status
34 # leim files
35 LEIM_FILES="leim/ja-dic leim/quail"
36 for dir in $LEIM_FILES; do
37 echo -n "Copying $dir sources"
38 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
39 cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir && \
40 status
41 done
42 # Doc
43 echo -n "Copying doc files"
44 DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
45 for file in $DOC_FILES; do
46 cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc
47 done
48 status
49 }