wok-6.x view qemacs-x11/receipt @ rev 25287

updated rsync (3.2.3 -> 3.2.4)
author Hans-G?nter Theisgen
date Mon Jul 18 17:50:55 2022 +0100 (2022-07-18)
parents a78610b2eb47
children
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export CFLAGS="-Wno-error=unused-but-set-variable -O2"
30 sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h
31 ./configure --prefix=/usr $CONFIGURE_ARGS &&
32 make -j 1
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin $fs/usr/share/qe
39 mkdir -p $install/usr/share/doc $install/usr/share/man
40 install $src/qe-doc.html $src/COPYING $src/README $install/usr/share/doc
41 install $src/*.1 $install/usr/share/man
42 install -m 755 $src/qe $fs/usr/bin/qemacs
43 ln -s qemacs $fs/usr/bin/qe
44 install -m 755 -s $src/html2png $fs/usr/bin
45 install $src/kmaps $src/ligatures $fs/usr/share/qe
46 }