wok view qemacs-x11/receipt @ rev 16264

Add some any arch packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 05 10:12:34 2014 +0000 (2014-04-05)
parents 6725548ba993
children 3494cfd4c595
line source
1 # SliTaz package receipt.
3 PACKAGE="qemacs-x11"
4 SOURCE="qemacs"
5 VERSION="0.3.3"
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 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 }