wok-next view qemacs/receipt @ rev 21683

updated glances (1.5.1 -> 3.1.4.1)
author Hans-G?nter Theisgen
date Mon Jun 29 15:35:41 2020 +0100 (2020-06-29)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://bellard.org/qemacs/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 BUILD_DEPENDS="libx11-dev libxext-dev libxv-dev"
15 SPLIT="$PACKAGE-tiny $PACKAGE-x11 $PACKAGE-dev"
17 compile_rules() {
18 export CFLAGS="-Wno-error=unused-but-set-variable -O2"
19 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
21 ./configure \
22 --prefix=/usr \
23 --enable-tiny \
24 $CONFIGURE_ARGS &&
25 make &&
26 mv qe qe-tiny
28 ./configure \
29 --prefix=/usr \
30 --disable-x11 \
31 $CONFIGURE_ARGS &&
32 make &&
33 mv qe qe-nox11
35 ./configure \
36 --prefix=/usr \
37 $CONFIGURE_ARGS &&
38 make &&
39 mv qe qe-x11
41 cook_pick_docs qe-doc.html COPYING README
42 cook_pick_manpages *.1
43 }
45 genpkg_rules() {
46 case $PACKAGE in
47 qemacs)
48 mkdir -p $fs/usr/bin $fs/usr/share/qe
49 install -m 755 $src/qe-nox11 $fs/usr/bin/qemacs
50 ln -s qemacs $fs/usr/bin/qe
51 install -m 755 -s $src/html2png $fs/usr/bin
52 install $src/kmaps $src/ligatures $fs/usr/share/qe
53 DEPENDS=" "
54 TAGS="editor"
55 ;;
56 qemacs-tiny)
57 mkdir -p $fs/usr/bin
58 install -m 755 $src/qe-tiny $fs/usr/bin/qemacs
59 ln -s qemacs $fs/usr/bin/qe
60 DEPENDS=" "
61 TAGS="editor"
62 ;;
63 qemacs-x11)
64 mkdir -p $fs/usr/bin $fs/usr/share/qe
65 install -m 755 $src/qe-x11 $fs/usr/bin/qemacs
66 ln -s qemacs $fs/usr/bin/qe
67 install -m 755 -s $src/html2png $fs/usr/bin
68 install $src/kmaps $src/ligatures $fs/usr/share/qe
69 CAT="editors|Light emacs clone with X11 support."
70 DEPENDS="libx11 libxext libxv libxcb \
71 libxau libxdmcp"
72 PROVIDE="qemacs"
73 TAGS="editor"
74 ;;
75 qemacs-dev)
76 mkdir -p $fs/usr/include/qemacs
77 for i in cutils.h display.h qe.h qeconfig.h qestyles.h; do
78 cp $src/$i $fs/usr/include/qemacs
79 done
80 ;;
81 esac
82 }