wok-next view qemacs-tiny/receipt @ rev 14746

Up xorg-libXrender (0.9.8), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 15 14:56:22 2013 +0200 (2013-06-15)
parents 6be450c86868
children a436a235f098
line source
1 # SliTaz package receipt.
3 PACKAGE="qemacs-tiny"
4 SOURCE="qemacs"
5 VERSION="0.3.2"
6 CATEGORY="development"
7 SHORT_DESC="Tiny emacs clone."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://bellard.org/$SOURCE/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="editor"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export CFLAGS="-Wno-error=unused-but-set-variable -O2"
22 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
23 ./configure --prefix=/usr --enable-tiny && make qe
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $src/qe $fs/usr/bin/qemacs
31 ln -s qemacs $fs/usr/bin/qe
32 }