wok annotate qemacs/receipt @ rev 14195

emacs-pkg-vala-mode: tidy receipt
author Dominique Corbex <domcox@slitaz.org>
date Tue Mar 12 23:05:45 2013 +0100 (2013-03-12)
parents
children a436a235f098
rev   line source
pascal@13239 1 # SliTaz package receipt.
pascal@13239 2
pascal@13239 3 PACKAGE="qemacs"
pascal@13239 4 VERSION="0.3.2"
pascal@13239 5 CATEGORY="development"
pascal@13239 6 SHORT_DESC="Light emacs clone."
pascal@13239 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13239 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13239 9 WEB_SITE="http://bellard.org/$PACKAGE/"
pascal@13239 10 DEPENDS=""
pascal@13239 11 BUILD_DEPENDS="gcc3"
pascal@13239 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@13239 13 TAGS="editor"
pascal@13239 14
pascal@13239 15 # Rules to configure and make the package.
pascal@13239 16 compile_rules()
pascal@13239 17 {
pascal@13239 18 cd $src
pascal@13239 19 ./configure --prefix=/usr --disable-x11 $CONFIGURE_ARGS && make CC=gcc-3
pascal@13239 20 }
pascal@13239 21
pascal@13239 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13239 23 genpkg_rules()
pascal@13239 24 {
pascal@13239 25 mkdir -p $fs/usr/bin $fs/usr/share/qe
pascal@13239 26 install -m 755 $src/qe $fs/usr/bin/qemacs
pascal@13239 27 ln -s qemacs $fs/usr/bin/qe
pascal@13239 28 install -m 755 -s $src/html2png $fs/usr/bin
pascal@13239 29 install $src/kmaps $src/ligatures $fs/usr/share/qe
pascal@13239 30 }
pascal@13239 31