wok annotate qemacs-tiny/receipt @ rev 13255

Add qemacs-tiny
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 16 21:48:35 2012 +0200 (2012-08-16)
parents
children 82b888228924
rev   line source
pascal@13255 1 # SliTaz package receipt.
pascal@13255 2
pascal@13255 3 PACKAGE="qemacs-tiny"
pascal@13255 4 VERSION="0.3.2"
pascal@13255 5 CATEGORY="development"
pascal@13255 6 SHORT_DESC="Tiny emacs clone."
pascal@13255 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13255 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13255 9 WEB_SITE="http://bellard.org/$PACKAGE/"
pascal@13255 10 WGET_URL="${WEB_SITE}$TARBALL"
pascal@13255 11 TAGS="editor"
pascal@13255 12
pascal@13255 13 DEPENDS=""
pascal@13255 14 BUILD_DEPENDS=""
pascal@13255 15
pascal@13255 16 # Rules to configure and make the package.
pascal@13255 17 compile_rules()
pascal@13255 18 {
pascal@13255 19 cd $src
pascal@13255 20 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
pascal@13255 21 ./configure --prefix=/usr --enable-tiny && make qe
pascal@13255 22 }
pascal@13255 23
pascal@13255 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13255 25 genpkg_rules()
pascal@13255 26 {
pascal@13255 27 mkdir -p $fs/usr/bin
pascal@13255 28 cp -a $src/qe $fs/usr/bin/qemacs
pascal@13255 29 ln -s qemacs $fs/usr/bin/qe
pascal@13255 30 }
pascal@13255 31