wok-undigest annotate qemacs-video/receipt @ rev 1223
copied libxext recipe from wok-next
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 17:38:29 2019 +0100 (2019-11-15) |
parents | dbecbd5a84f6 |
children |
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@1102 | 29 [ -d "$ffmpegdir" ] || return 1 |
pascal@1102 | 30 cp /usr/lib/libavcodec.a $ffmpegdir/libavcodec |
pascal@1102 | 31 cp /usr/lib/libavformat.a $ffmpegdir/libavformat |
pascal@757 | 32 CFLAGS="-I$ffmpegdir" ./configure --prefix=/usr \ |
pascal@757 | 33 --with-ffmpegdir=$ffmpegdir \ |
pascal@756 | 34 $CONFIGURE_ARGS && make CC=gcc-3 |
pascal@756 | 35 } |
pascal@756 | 36 |
pascal@756 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@756 | 38 genpkg_rules() |
pascal@756 | 39 { |
pascal@756 | 40 mkdir -p $fs/usr/bin $fs/usr/share/qe |
pascal@756 | 41 install -m 755 $src/qe $fs/usr/bin/qemacs |
pascal@756 | 42 ln -s qemacs $fs/usr/bin/qe |
pascal@756 | 43 install -m 755 -s $src/html2png $fs/usr/bin |
pascal@756 | 44 install $src/kmaps $src/ligatures $fs/usr/share/qe |
pascal@756 | 45 } |
pascal@756 | 46 |