wok-6.x diff emacs-lisp-sources/receipt @ rev 4507

Add lguest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 23 13:32:28 2009 +0100 (2009-11-23)
parents
children a878a8e4e836
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/emacs-lisp-sources/receipt	Mon Nov 23 13:32:28 2009 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="emacs-lisp-sources"
     1.7 +VERSION="23.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The GNU Emacs editor - Lisp source files"
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11 +DEPENDS="emacs"
    1.12 +BUILD_DEPENDS=
    1.13 +WEB_SITE="http://www.gnu.org/software/emacs/"
    1.14 +WANTED="emacs"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	# lisp files
    1.20 +	LISP_DIR="  lisp lisp/calc lisp/calendar lisp/emacs-lisp lisp/emulation lisp/erc lisp/eshell \
    1.21 +				lisp/gnus lisp/international lisp/language lisp/mail lisp/mh-e lisp/net lisp/nxml \
    1.22 +				lisp/obsolete lisp/org lisp/play lisp/progmodes lisp/textmodes lisp/url"
    1.23 +	for dir in $LISP_DIR; do
    1.24 +		echo -n "Copying $dir sources"
    1.25 +		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.26 +		cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir
    1.27 +		status
    1.28 +	done
    1.29 +	# Use linux term only
    1.30 +	LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
    1.31 +	echo -n "Copying lisp/term sources"
    1.32 +	mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \
    1.33 +	for file in $LINUX_TERM; do
    1.34 +		cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/lisp/term
    1.35 +	done
    1.36 +	status
    1.37 +	# leim files
    1.38 +	LEIM_FILES="leim/ja-dic leim/quail"
    1.39 +	for dir in $LEIM_FILES; do
    1.40 +		echo -n "Copying $dir sources"
    1.41 +		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.42 +		cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.43 +		status
    1.44 +	done
    1.45 +	# Doc
    1.46 +	echo -n "Copying doc files"
    1.47 +	DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
    1.48 +	for file in $DOC_FILES; do
    1.49 +		cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc
    1.50 +	done
    1.51 +	status
    1.52 +}