wok-6.x annotate qemacs-x11/receipt @ rev 13241

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