wok-next view qemacs-x11/receipt @ rev 15078

grub: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 17:02:48 2013 +0000 (2013-08-13)
parents a436a235f098
children 6725548ba993
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 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://bellard.org/$SOURCE/"
12 DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
13 BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
14 WGET_URL="${WEB_SITE}$TARBALL"
15 PROVIDE="qemacs"
16 TAGS="editor"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr $CONFIGURE_ARGS && make CC=gcc-3
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/qe
29 install -m 755 $src/qe $fs/usr/bin/qemacs
30 ln -s qemacs $fs/usr/bin/qe
31 install -m 755 -s $src/html2png $fs/usr/bin
32 install $src/kmaps $src/ligatures $fs/usr/share/qe
33 }