wok-undigest view qemacs-video/receipt @ rev 990

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