wok-undigest rev 756

Add qemacs-video
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 12 10:08:31 2012 +0200 (2012-07-12)
parents f07c79b89375
children fdb65b91eb16
files qemacs-video/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qemacs-video/receipt	Thu Jul 12 10:08:31 2012 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qemacs-video"
     1.7 +SOURCE="qemacs"
     1.8 +VERSION="0.3.2"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Light emacs clone with video support."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://bellard.org/$SOURCE/"
    1.14 +DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
    1.15 +BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
    1.16 +WGET_URL="${WEB_SITE}$TARBALL"
    1.17 +PROVIDE="qemacs"
    1.18 +TAGS="editor"
    1.19 +
    1.20 +TODO="force png support ?"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	cd $src
    1.26 +	ffmpegdir=$(ls -d $WOK/ffmpeg-svn/source/ffmpeg*)
    1.27 +	./configure --prefix=/usr --with-ffmpegdir=$ffmpegdir \
    1.28 +		$CONFIGURE_ARGS && make CC=gcc-3
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/bin $fs/usr/share/qe
    1.35 +	install -m 755 $src/qe $fs/usr/bin/qemacs
    1.36 +	ln -s qemacs $fs/usr/bin/qe
    1.37 +	install -m 755 -s $src/html2png $fs/usr/bin
    1.38 +	install $src/kmaps $src/ligatures $fs/usr/share/qe
    1.39 +}
    1.40 +