wok-6.x annotate emacs-lisp-sources/receipt @ rev 8301

Fix: shared-mime-info now take care of --root= option
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:50:01 2011 +0100 (2011-02-01)
parents 6aae08641f1e
children aeaa98a3fab5
rev   line source
domcox@3938 1 # SliTaz package receipt.
domcox@3938 2
domcox@3938 3 PACKAGE="emacs-lisp-sources"
domcox@5578 4 VERSION="23.2"
domcox@3938 5 CATEGORY="development"
domcox@3938 6 SHORT_DESC="The GNU Emacs editor - Lisp source files"
domcox@3938 7 MAINTAINER="domcox@slitaz.org"
domcox@3938 8 DEPENDS="emacs"
domcox@3938 9 BUILD_DEPENDS=
domcox@3938 10 WEB_SITE="http://www.gnu.org/software/emacs/"
domcox@3938 11 WANTED="emacs"
domcox@3938 12
domcox@3938 13 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@3938 14 genpkg_rules()
domcox@3938 15 {
domcox@3938 16 # lisp files
domcox@5578 17 LISP_DIR=" lisp lisp/calc lisp/calendar lisp/cedet lisp/cedet/ede lisp/cedet/semantic \
domcox@5578 18 lisp/cedet/semantic/analyze lisp/cedet/semantic/bovine lisp/cedet/semantic/decorate \
domcox@5578 19 lisp/cedet/semantic/symref lisp/cedet/semantic/wisent lisp/emacs-lisp lisp/emulation \
domcox@5578 20 lisp/erc lisp/eshell lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e \
domcox@5578 21 lisp/net lisp/nxml lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url"
domcox@5578 22
domcox@3938 23 for dir in $LISP_DIR; do
domcox@3938 24 echo -n "Copying $dir sources"
domcox@3938 25 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
domcox@3938 26 cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir
domcox@3938 27 status
domcox@3938 28 done
domcox@3938 29 # Use linux term only
domcox@3938 30 LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
domcox@3938 31 echo -n "Copying lisp/term sources"
domcox@3938 32 mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \
domcox@3938 33 for file in $LINUX_TERM; do
domcox@3938 34 cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/lisp/term
domcox@3938 35 done
domcox@3938 36 status
domcox@3938 37 # leim files
domcox@3938 38 LEIM_FILES="leim/ja-dic leim/quail"
domcox@3938 39 for dir in $LEIM_FILES; do
domcox@3938 40 echo -n "Copying $dir sources"
domcox@3938 41 mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
domcox@3938 42 cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir && \
domcox@3938 43 status
domcox@3938 44 done
domcox@3938 45 # Doc
domcox@3938 46 echo -n "Copying doc files"
domcox@3938 47 DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
domcox@3938 48 for file in $DOC_FILES; do
domcox@3938 49 cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc
domcox@3938 50 done
domcox@3938 51 status
domcox@3938 52 }