wok-undigest annotate qemacs-video/receipt @ rev 1038
gcc: remove wrong error trigger (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 14 22:33:37 2013 +0000 (2013-10-14) |
parents | 5d8ff0afb55d |
children | dbecbd5a84f6 |
rev | line source |
---|---|
pascal@756 | 1 # SliTaz package receipt. |
pascal@756 | 2 |
pascal@756 | 3 PACKAGE="qemacs-video" |
pascal@756 | 4 SOURCE="qemacs" |
pascal@982 | 5 VERSION="0.3.3" |
pascal@756 | 6 CATEGORY="development" |
pascal@756 | 7 SHORT_DESC="Light emacs clone with video support." |
pascal@756 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1038 | 9 LICENSE="LGPL2.1" |
pascal@756 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@756 | 11 WEB_SITE="http://bellard.org/$SOURCE/" |
pascal@756 | 12 DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp" |
pascal@756 | 13 BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev" |
pascal@756 | 14 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@756 | 15 PROVIDE="qemacs" |
pascal@756 | 16 TAGS="editor" |
pascal@756 | 17 |
pascal@756 | 18 TODO="force png support ?" |
pascal@756 | 19 |
pascal@756 | 20 # Rules to configure and make the package. |
pascal@756 | 21 compile_rules() |
pascal@756 | 22 { |
pascal@756 | 23 cd $src |
pascal@756 | 24 ffmpegdir=$(ls -d $WOK/ffmpeg-svn/source/ffmpeg*) |
pascal@757 | 25 [ -n "$ffmpegdir" ] && |
pascal@757 | 26 CFLAGS="-I$ffmpegdir" ./configure --prefix=/usr \ |
pascal@757 | 27 --with-ffmpegdir=$ffmpegdir \ |
pascal@756 | 28 $CONFIGURE_ARGS && make CC=gcc-3 |
pascal@756 | 29 } |
pascal@756 | 30 |
pascal@756 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@756 | 32 genpkg_rules() |
pascal@756 | 33 { |
pascal@756 | 34 mkdir -p $fs/usr/bin $fs/usr/share/qe |
pascal@756 | 35 install -m 755 $src/qe $fs/usr/bin/qemacs |
pascal@756 | 36 ln -s qemacs $fs/usr/bin/qe |
pascal@756 | 37 install -m 755 -s $src/html2png $fs/usr/bin |
pascal@756 | 38 install $src/kmaps $src/ligatures $fs/usr/share/qe |
pascal@756 | 39 } |
pascal@756 | 40 |