wok annotate lives/receipt @ rev 20095

slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 23:51:00 2017 +0300 (2017-10-05)
parents 843a4df9e36a
children 6f52735cb8a2
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 {
pascal@19930 21 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile*
pascal@19930 22 ./configure \
pascal@19930 23 --prefix=/usr \
pascal@19930 24 --disable-jack \
pascal@19930 25 $CONFIGURE_ARGS &&
pascal@19930 26 make &&
pascal@19930 27 make DESTDIR=$DESTDIR install 2>&1 | \
pascal@19930 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 {
pascal@19930 34 mkdir -p $fs/usr/lib $fs/usr/share
pascal@19930 35 cp -a $install/usr/bin $fs/usr
pascal@19930 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19930 37 cp -a $install/usr/lib/lives $fs/usr/lib
pascal@19930 38 cp -a $install/usr/share/lives $fs/usr/share
pascal@19930 39 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
pascal@19930 40 # Fix the name (.desktop) file.
pascal@19930 41 sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop
pankso@4679 42 }