wok view qemacs-tiny/receipt @ rev 14909

slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 05 11:40:01 2013 +0300 (2013-08-05)
parents 18d1dc85701e
children 76b72f1ad63c
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 LICENSE="LGPL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://bellard.org/$SOURCE/"
12 WGET_URL="${WEB_SITE}$TARBALL"
13 TAGS="editor"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export CFLAGS="-Wno-error=unused-but-set-variable -O2"
23 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
24 ./configure --prefix=/usr --enable-tiny && make qe
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/qe $fs/usr/bin/qemacs
32 ln -s qemacs $fs/usr/bin/qe
33 }