wok-6.x view qemacs-tiny/receipt @ rev 13863
Up: vlc (2.0.5) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 11 21:38:00 2013 +0100 (2013-01-11) |
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 }