wok-current view qemacs-x11/receipt @ rev 22481
updated ansible (1.5.3 -> 2.9.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 30 14:41:15 2019 +0100 (2019-12-30) |
parents | c5ecec879e43 |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qemacs-x11"
4 SOURCE="qemacs"
5 VERSION="0.3.3"
6 CATEGORY="editors"
7 SHORT_DESC="Light emacs clone with X11 support."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://bellard.org/$SOURCE/"
12 WGET_URL="${WEB_SITE}$TARBALL"
13 PROVIDE="qemacs"
14 TAGS="editor"
16 DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
17 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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 $CONFIGURE_ARGS &&
25 make -j 1
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/share/qe
32 mkdir -p $install/usr/share/doc $install/usr/share/man
33 install $src/qe-doc.html $src/COPYING $src/README $install/usr/share/doc
34 install $src/*.1 $install/usr/share/man
35 install -m 755 $src/qe $fs/usr/bin/qemacs
36 ln -s qemacs $fs/usr/bin/qe
37 install -m 755 -s $src/html2png $fs/usr/bin
38 install $src/kmaps $src/ligatures $fs/usr/share/qe
39 }