wok-next annotate qemacs-tiny/receipt @ rev 15672

Up linux (3.2.53) again...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 18 15:13:22 2013 +0000 (2013-12-18)
parents 76b72f1ad63c
children 0bc9efb792e7
rev   line source
pascal@13255 1 # SliTaz package receipt.
pascal@13255 2
pascal@13255 3 PACKAGE="qemacs-tiny"
pascal@13256 4 SOURCE="qemacs"
pascal@13255 5 VERSION="0.3.2"
pascal@13255 6 CATEGORY="development"
pascal@13255 7 SHORT_DESC="Tiny emacs clone."
pascal@13255 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14996 9 LICENSE="LGPL2.1"
pascal@13256 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@13256 11 WEB_SITE="http://bellard.org/$SOURCE/"
pascal@13255 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@13255 13 TAGS="editor"
pascal@13255 14
pascal@13255 15 DEPENDS=""
pascal@13255 16 BUILD_DEPENDS=""
pascal@13255 17
pascal@13255 18 # Rules to configure and make the package.
pascal@13255 19 compile_rules()
pascal@13255 20 {
pascal@13255 21 cd $src
pascal@13269 22 export CFLAGS="-Wno-error=unused-but-set-variable -O2"
pascal@13255 23 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
pascal@15281 24 ./configure --prefix=/usr --enable-tiny &&
pascal@15281 25 make -j 1 qe
pascal@13255 26 }
pascal@13255 27
pascal@13255 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13255 29 genpkg_rules()
pascal@13255 30 {
pascal@13255 31 mkdir -p $fs/usr/bin
pascal@13255 32 cp -a $src/qe $fs/usr/bin/qemacs
pascal@13255 33 ln -s qemacs $fs/usr/bin/qe
pascal@13255 34 }
pascal@13255 35