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