wok-6.x view emacs-lisp-sources/receipt @ rev 11384
Compat: add binutils as a gmp BUILD_DEPENDS to ensure proper cookorder in tazwok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 04:32:17 2011 +0100 (2011-12-10) |
parents | a878a8e4e836 |
children | 1fa770660043 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emacs-lisp-sources"
4 VERSION="23.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 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/$dir && \
25 cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$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/lisp/term && \
32 for file in $LINUX_TERM; do
33 cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/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/$dir && \
41 cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$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/etc/$file $fs/usr/share/emacs/$VERSION/etc
49 done
50 status
51 }