wok-current view qemacs-x11/receipt @ rev 19959
slim-theme-control: add compile_rules(); files processing following it.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 20 15:38:00 2017 +0300 (2017-05-20) |
parents | 0bc9efb792e7 |
children | 314b08d2fe81 |
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 install -m 755 $src/qe $fs/usr/bin/qemacs
32 ln -s qemacs $fs/usr/bin/qe
33 install -m 755 -s $src/html2png $fs/usr/bin
34 install $src/kmaps $src/ligatures $fs/usr/share/qe
35 }