wok-current annotate qemacs-x11/receipt @ rev 16067

ARM: xorg-server-light cross compile and add more needed packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 12 20:54:03 2014 +0100 (2014-03-12)
parents 6725548ba993
children 3494cfd4c595
rev   line source
pascal@13241 1 # SliTaz package receipt.
pascal@13241 2
pascal@13241 3 PACKAGE="qemacs-x11"
pascal@13241 4 SOURCE="qemacs"
pascal@15778 5 VERSION="0.3.3"
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@14996 9 LICENSE="LGPL2.1"
pascal@13241 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@13241 11 WEB_SITE="http://bellard.org/$SOURCE/"
pascal@13241 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@13241 13 PROVIDE="qemacs"
pascal@13241 14 TAGS="editor"
pascal@13241 15
pascal@15281 16 DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
pascal@15281 17 BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
pascal@15281 18
pascal@13241 19 # Rules to configure and make the package.
pascal@13241 20 compile_rules()
pascal@13241 21 {
pascal@13241 22 cd $src
pascal@15281 23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@15281 24 make CC=gcc-3 -j 1
pascal@13241 25 }
pascal@13241 26
pascal@13241 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13241 28 genpkg_rules()
pascal@13241 29 {
pascal@13241 30 mkdir -p $fs/usr/bin $fs/usr/share/qe
pascal@13241 31 install -m 755 $src/qe $fs/usr/bin/qemacs
pascal@13241 32 ln -s qemacs $fs/usr/bin/qe
pascal@13241 33 install -m 755 -s $src/html2png $fs/usr/bin
pascal@13241 34 install $src/kmaps $src/ligatures $fs/usr/share/qe
pascal@13241 35 }
pascal@13241 36