wok-current view qemacs/receipt @ rev 22619

updated cssc (1.3.0 -> 1.4.1)
author Hans-G?nter Theisgen
date Sun Jan 12 11:14:55 2020 +0100 (2020-01-12)
parents c5ecec879e43
children 453c249b6219
line source
1 # SliTaz package receipt.
3 PACKAGE="qemacs"
4 VERSION="0.3.3"
5 CATEGORY="editors"
6 SHORT_DESC="Light emacs clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://bellard.org/$PACKAGE/"
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 export CFLAGS="-Wno-error=unused-but-set-variable -O2"
21 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
22 ./configure --prefix=/usr --disable-x11 $CONFIGURE_ARGS &&
23 make -j 1
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/qe
30 mkdir -p $install/usr/share/doc $install/usr/share/man
31 install $src/qe-doc.html $src/COPYING $src/README $install/usr/share/doc
32 install $src/*.1 $install/usr/share/man
33 install -m 755 $src/qe $fs/usr/bin/qemacs
34 ln -s qemacs $fs/usr/bin/qe
35 install -m 755 -s $src/html2png $fs/usr/bin
36 install $src/kmaps $src/ligatures $fs/usr/share/qe
37 }