wok annotate 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 |
rev | line source |
---|---|
pascal@13241 | 1 # SliTaz package receipt. |
pascal@13241 | 2 |
pascal@13241 | 3 PACKAGE="qemacs-x11" |
pascal@13241 | 4 SOURCE="qemacs" |
pascal@15778 | 5 VERSION="0.3.3" |
pascal@18559 | 6 CATEGORY="editors" |
pascal@13241 | 7 SHORT_DESC="Light emacs clone with X11 support." |
pascal@13241 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
pascal@13241 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13241 | 11 WEB_SITE="http://bellard.org/$SOURCE/" |
pascal@13241 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13241 | 13 PROVIDE="qemacs" |
pascal@13241 | 14 TAGS="editor" |
pascal@13241 | 15 |
pascal@15281 | 16 DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp" |
pascal@15281 | 17 BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev" |
pascal@15281 | 18 |
pascal@13241 | 19 # Rules to configure and make the package. |
pascal@13241 | 20 compile_rules() |
pascal@13241 | 21 { |
pascal@13241 | 22 cd $src |
pascal@15281 | 23 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@15281 | 24 make CC=gcc-3 -j 1 |
pascal@13241 | 25 } |
pascal@13241 | 26 |
pascal@13241 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13241 | 28 genpkg_rules() |
pascal@13241 | 29 { |
pascal@13241 | 30 mkdir -p $fs/usr/bin $fs/usr/share/qe |
pascal@20093 | 31 mkdir -p $install/usr/share/doc $install/usr/share/man |
pascal@20093 | 32 install $src/qe-doc.html $src/COPYING $src/README $install/usr/share/doc |
pascal@20093 | 33 install $src/*.1 $install/usr/share/man |
pascal@13241 | 34 install -m 755 $src/qe $fs/usr/bin/qemacs |
pascal@13241 | 35 ln -s qemacs $fs/usr/bin/qe |
pascal@13241 | 36 install -m 755 -s $src/html2png $fs/usr/bin |
pascal@13241 | 37 install $src/kmaps $src/ligatures $fs/usr/share/qe |
pascal@13241 | 38 } |
pascal@13241 | 39 |