wok-current diff emacs-lisp-sources/receipt @ rev 13365

Add facter (library for collecting facts about system)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 13 22:01:45 2012 +0200 (2012-09-13)
parents aa285ce6348c
children f505e31f1f77
line diff
     1.1 --- a/emacs-lisp-sources/receipt	Mon Feb 20 17:53:47 2012 +0100
     1.2 +++ b/emacs-lisp-sources/receipt	Thu Sep 13 22:01:45 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emacs-lisp-sources"
     1.7 -VERSION="23.3"
     1.8 +VERSION="23.4"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The GNU Emacs editor - Lisp source files"
    1.11  MAINTAINER="domcox@slitaz.org"
    1.12 @@ -21,31 +21,31 @@
    1.13  
    1.14  	for dir in $LISP_DIR; do
    1.15  		echo -n "Copying $dir sources"
    1.16 -		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.17 -		cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir
    1.18 +		mkdir -p $fs/usr/share/$WANTED/${VERSION:0:4}/$dir && \
    1.19 +		cp $_pkg/usr/share/$WANTED/${VERSION:0:4}/$dir/*.el.gz $fs/usr/share/$WANTED/${VERSION:0:4}/$dir
    1.20  		status
    1.21  	done
    1.22  	# Use linux term only
    1.23  	LINUX_TERM="rxvt.el.gz tty-colors.el.gz vt100.el.gz xterm.el.gz"
    1.24  	echo -n "Copying lisp/term sources"
    1.25 -	mkdir -p $fs/usr/share/$WANTED/$VERSION/lisp/term && \
    1.26 +	mkdir -p $fs/usr/share/$WANTED/${VERSION:0:4}/lisp/term && \
    1.27  	for file in $LINUX_TERM; do
    1.28 -		cp -a $_pkg/usr/share/$WANTED/$VERSION/lisp/term/$file $fs/usr/share/$WANTED/$VERSION/lisp/term
    1.29 +		cp -a $_pkg/usr/share/$WANTED/${VERSION:0:4}/lisp/term/$file $fs/usr/share/$WANTED/${VERSION:0:4}/lisp/term
    1.30  	done
    1.31  	status
    1.32  	# leim files
    1.33  	LEIM_FILES="leim/ja-dic leim/quail"
    1.34  	for dir in $LEIM_FILES; do
    1.35  		echo -n "Copying $dir sources"
    1.36 -		mkdir -p $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.37 -		cp $_pkg/usr/share/$WANTED/$VERSION/$dir/*.el.gz $fs/usr/share/$WANTED/$VERSION/$dir && \
    1.38 +		mkdir -p $fs/usr/share/$WANTED/${VERSION:0:4}/$dir && \
    1.39 +		cp $_pkg/usr/share/$WANTED/${VERSION:0:4}/$dir/*.el.gz $fs/usr/share/$WANTED/${VERSION:0:4}/$dir && \
    1.40  		status
    1.41  	done
    1.42  	# Doc
    1.43  	echo -n "Copying doc files"
    1.44  	DOC_FILES="CONTRIBUTE DEBUG MACHINES MAILINGLISTS TODO"
    1.45  	for file in $DOC_FILES; do
    1.46 -		cp -a $_pkg/usr/share/emacs/$VERSION/etc/$file $fs/usr/share/emacs/$VERSION/etc
    1.47 +		cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/$file $fs/usr/share/emacs/${VERSION:0:4}/etc
    1.48  	done
    1.49  	status
    1.50  }