wok view qemacs/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents 0bc9efb792e7
children 314b08d2fe81
line source
1 # SliTaz package receipt.
3 PACKAGE="qemacs"
4 VERSION="0.3.3"
5 CATEGORY="editors"
6 SHORT_DESC="Light emacs clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://bellard.org/$PACKAGE/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="editor"
14 DEPENDS=""
15 BUILD_DEPENDS="gcc3"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --disable-x11 $CONFIGURE_ARGS &&
22 make CC=gcc-3 -j 1
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 }