wok-undigest annotate qemacs-video/receipt @ rev 1101

qemacs-video: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 13 08:52:21 2014 +0000 (2014-01-13)
parents 01af0e72b841
children aba4bc571c91
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@1101 13 BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev libav-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@1101 24 ffmpegdir=$(ls -d $WOK/ffmpeg/source/ffmpeg*)
pascal@1101 25 if [ ! -d "$ffmpegdir" ]; then
pascal@1101 26 tar xf $(ls -t $SOURCES_REPOSITORY/ffmpeg-* | sed q)
pascal@1101 27 ffmpegdir=$(ls -d $src/ffmpeg-*)
pascal@1101 28 fi
pascal@1101 29 [ -d "$ffmpegdir" ] &&
pascal@757 30 CFLAGS="-I$ffmpegdir" ./configure --prefix=/usr \
pascal@757 31 --with-ffmpegdir=$ffmpegdir \
pascal@756 32 $CONFIGURE_ARGS && make CC=gcc-3
pascal@756 33 }
pascal@756 34
pascal@756 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@756 36 genpkg_rules()
pascal@756 37 {
pascal@756 38 mkdir -p $fs/usr/bin $fs/usr/share/qe
pascal@756 39 install -m 755 $src/qe $fs/usr/bin/qemacs
pascal@756 40 ln -s qemacs $fs/usr/bin/qe
pascal@756 41 install -m 755 -s $src/html2png $fs/usr/bin
pascal@756 42 install $src/kmaps $src/ligatures $fs/usr/share/qe
pascal@756 43 }
pascal@756 44