wok-current view qemacs-x11/receipt @ rev 13592

lessfs: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 08 10:00:51 2012 +0100 (2012-11-08)
parents
children a436a235f098
line source
1 # SliTaz package receipt.
3 PACKAGE="qemacs-x11"
4 SOURCE="qemacs"
5 VERSION="0.3.2"
6 CATEGORY="development"
7 SHORT_DESC="Light emacs clone with X11 support."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://bellard.org/$SOURCE/"
11 DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
12 BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
13 WGET_URL="${WEB_SITE}$TARBALL"
14 PROVIDE="qemacs"
15 TAGS="editor"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS && make CC=gcc-3
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/qe
28 install -m 755 $src/qe $fs/usr/bin/qemacs
29 ln -s qemacs $fs/usr/bin/qe
30 install -m 755 -s $src/html2png $fs/usr/bin
31 install $src/kmaps $src/ligatures $fs/usr/share/qe
32 }