# SliTaz package receipt. PACKAGE="emacs-help" VERSION="23.4" CATEGORY="development" SHORT_DESC="The GNU Emacs editor - Help files" MAINTAINER="domcox@slitaz.org" DEPENDS="emacs" WEB_SITE="http://www.gnu.org/software/emacs/" WANTED="emacs" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { # Help files echo -n "Copying info files" mkdir -p $fs/usr/share/info && \ cp -a $_pkg/usr/share/info/em* $fs/usr/share/info && \ cp -a $_pkg/usr/share/info/info $fs/usr/share/info status # Tutorial echo -n "Copying tutorial files" mkdir -p $fs/usr/share/emacs/${VERSION:0:4}/etc && \ cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/tutorials $fs/usr/share/emacs/${VERSION:0:4}/etc status # Doc echo -n "Copying doc files" DOC_FILES=" COOKIES DOC-${VERSION:0:4}.1 DEVEL.HUMOR ERC-NEWS ETAGS.EBNF GNUS-NEWS HELLO \ INTERVIEW JOKES LINUX-GNU MH-E-NEWS MORE.STUFF MOTIVATION NEWS NEWS.1-17 \ NEWS.19 NEWS.19 NEWS.20 NEWS.21 NEWS.22 NXML-NEWS PROBLEMS TERMS THE-GNU-PROJECT \ WHY-FREE compilation.txt enriched.doc gnus-tut.txt grep.txt" for file in $DOC_FILES; do cp -a $_pkg/usr/share/emacs/${VERSION:0:4}/etc/$file $fs/usr/share/emacs/${VERSION:0:4}/etc done status }