wok annotate lives/receipt @ rev 19231
Add vmtouch
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Jun 24 19:59:40 2016 +0100 (2016-06-24) |
parents | 25e35ad06e08 |
children | b0eb186f4ba9 |
rev | line source |
---|---|
pankso@4679 | 1 # SliTaz package receipt. |
pankso@4679 | 2 |
pankso@4679 | 3 PACKAGE="lives" |
slaxemulator@6358 | 4 VERSION="1.3.4" |
pankso@4679 | 5 CATEGORY="multimedia" |
pankso@4679 | 6 SHORT_DESC="Simple to use, yet powerful video editor and VJ tool." |
pankso@4679 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15310 | 8 LICENSE="GPL3" |
pankso@4679 | 9 SOURCE="LiVES" |
pankso@4679 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@4679 | 11 WEB_SITE="http://lives.sourceforge.net/" |
pankso@4679 | 12 WGET_URL="http://www.xs4all.nl/%7Esalsaman/lives/current/$TARBALL" |
pascal@15310 | 13 |
pascal@5003 | 14 DEPENDS="alsa-lib libpng gtk+ sox mjpegtools libavc1394 liboil libtheora" |
slaxemulator@6358 | 15 BUILD_DEPENDS="alsa-lib alsa-lib-dev libpng-dev gtk+-dev procps expat-dev perl" |
pankso@4679 | 16 |
pankso@4679 | 17 # Rules to configure and make the package. |
pankso@4679 | 18 # |
pankso@4679 | 19 compile_rules() |
pankso@4679 | 20 { |
hackdorte@19049 | 21 cd $src |
hackdorte@19049 | 22 ./configure \ |
hackdorte@19049 | 23 --prefix=/usr \ |
hackdorte@19049 | 24 --disable-jack \ |
hackdorte@19049 | 25 $CONFIGURE_ARGS && |
hackdorte@19049 | 26 make && |
hackdorte@19049 | 27 make DESTDIR=$DESTDIR install 2>&1 | \ |
hackdorte@19049 | 28 sed "s/gmo': No such file/gmo': no such file/" |
pankso@4679 | 29 } |
pankso@4679 | 30 |
pankso@4679 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4679 | 32 genpkg_rules() |
pankso@4679 | 33 { |
hackdorte@19049 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
hackdorte@19049 | 35 cp -a $install/usr/bin $fs/usr |
hackdorte@19049 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
hackdorte@19049 | 37 cp -a $install/usr/lib/lives $fs/usr/lib |
hackdorte@19049 | 38 cp -a $install/usr/share/lives $fs/usr/share |
hackdorte@19049 | 39 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \; |
hackdorte@19049 | 40 # Fix the name (.desktop) file. |
hackdorte@19049 | 41 sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop |
pankso@4679 | 42 } |