wok-next annotate emacs-help/receipt @ rev 12948

libglade: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 23:13:24 2012 +0200 (2012-05-30)
parents aa285ce6348c
children ab1303888287
rev   line source
domcox@3938 1 # SliTaz package receipt.
domcox@3938 2
domcox@3938 3 PACKAGE="emacs-help"
slaxemulator@11722 4 VERSION="23.4"
domcox@3938 5 CATEGORY="development"
domcox@3938 6 SHORT_DESC="The GNU Emacs editor - Help files"
domcox@3938 7 MAINTAINER="domcox@slitaz.org"
domcox@3938 8 DEPENDS="emacs"
domcox@3938 9 WEB_SITE="http://www.gnu.org/software/emacs/"
domcox@3938 10 WANTED="emacs"
domcox@3938 11
domcox@3938 12 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@3938 13 genpkg_rules()
domcox@3938 14 {
domcox@3938 15 # Help files
domcox@3938 16 echo -n "Copying info files"
slaxemulator@11722 17 mkdir -p $fs/usr/share/info && \
slaxemulator@11722 18 cp -a $_pkg/usr/share/info/em* $fs/usr/share/info && \
slaxemulator@11722 19 cp -a $_pkg/usr/share/info/info $fs/usr/share/info
domcox@3938 20 status
domcox@3938 21 # Tutorial
domcox@3938 22 echo -n "Copying tutorial files"
slaxemulator@11722 23 mkdir -p $fs/usr/share/emacs/${VERSION:0:4}/etc && \
slaxemulator@11722 24 cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/tutorials $fs/usr/share/emacs/${VERSION:0:4}/etc
domcox@3938 25 status
domcox@3938 26 # Doc
domcox@3938 27 echo -n "Copying doc files"
slaxemulator@11722 28 DOC_FILES=" COOKIES DOC-${VERSION:0:4}.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF GNUS-NEWS HELLO \
domcox@3938 29 INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION NEWS NEWS.1-17 \
domcox@3938 30 NEWS.19 NEWS.19 NEWS.20 NEWS.21 NEWS.22 NXML-NEWS PROBLEMS TERMS THE-GNU-PROJECT \
domcox@5578 31 WHY-FREE compilation.txt enriched.doc gnus-tut.txt grep.txt"
domcox@3938 32 for file in $DOC_FILES; do
slaxemulator@11722 33 cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/$file $fs/usr/share/emacs/${VERSION:0:4}/etc
domcox@3938 34 done
domcox@3938 35 status
domcox@3938 36 }
domcox@3938 37