wok view qemacs-tiny/receipt @ rev 13255
Add qemacs-tiny
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 16 21:48:35 2012 +0200 (2012-08-16) |
parents | |
children | 82b888228924 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qemacs-tiny"
4 VERSION="0.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Tiny emacs clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://bellard.org/$PACKAGE/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 TAGS="editor"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
21 ./configure --prefix=/usr --enable-tiny && make qe
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/qe $fs/usr/bin/qemacs
29 ln -s qemacs $fs/usr/bin/qe
30 }