wok view qemacs-x11/receipt @ rev 20093

qemacs: add doc & man
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 04 18:35:02 2017 +0200 (2017-10-04)
parents 3494cfd4c595
children c5ecec879e43
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="http://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="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
24 make CC=gcc-3 -j 1
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/qe
31 mkdir -p $install/usr/share/doc $install/usr/share/man
32 install $src/qe-doc.html $src/COPYING $src/README $install/usr/share/doc
33 install $src/*.1 $install/usr/share/man
34 install -m 755 $src/qe $fs/usr/bin/qemacs
35 ln -s qemacs $fs/usr/bin/qe
36 install -m 755 -s $src/html2png $fs/usr/bin
37 install $src/kmaps $src/ligatures $fs/usr/share/qe
38 }