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

Up beautifulsoup (4.1.3)
author Paul Issott <paul@slitaz.org>
date Sun Oct 28 17:33:42 2012 +0000 (2012-10-28)
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 }