wok-current annotate lives/receipt @ rev 21927
updated socat (2.0.0-b7 -> 2.0.0-b8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 05 21:31:52 2019 +0100 (2019-10-05) |
parents | b0eb186f4ba9 |
children | ec55902e1f00 |
rev | line source |
---|---|
pankso@4679 | 1 # SliTaz package receipt. |
pankso@4679 | 2 |
pankso@4679 | 3 PACKAGE="lives" |
Hans-G?nter@21369 | 4 VERSION="2.10.2" |
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" |
Hans-G?nter@21369 | 9 WEB_SITE="http://lives.sourceforge.net/" |
Hans-G?nter@21369 | 10 |
pankso@4679 | 11 SOURCE="LiVES" |
pankso@4679 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@21369 | 13 WGET_URL="http://lives-video.com/releases/$TARBALL" |
pascal@15310 | 14 |
Hans-G?nter@21369 | 15 DEPENDS="alsa-lib gtk+ libavc1394 liboil libpng libtheora mjpegtools sox" |
Hans-G?nter@21369 | 16 BUILD_DEPENDS="alsa-lib alsa-lib-dev expat-dev gtk+-dev libpng-dev perl procps" |
pankso@4679 | 17 |
pankso@4679 | 18 # Rules to configure and make the package. |
pankso@4679 | 19 # |
pankso@4679 | 20 compile_rules() |
pankso@4679 | 21 { |
pascal@19930 | 22 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile* |
Hans-G?nter@21369 | 23 |
Hans-G?nter@21369 | 24 ./configure \ |
Hans-G?nter@21369 | 25 --prefix=/usr \ |
Hans-G?nter@21369 | 26 --disable-jack \ |
Hans-G?nter@21369 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@21369 | 28 make -j 1 && |
pascal@19930 | 29 make DESTDIR=$DESTDIR install 2>&1 | \ |
Hans-G?nter@21369 | 30 sed "s/gmo': No such file/gmo': no such file/" |
pankso@4679 | 31 } |
pankso@4679 | 32 |
pankso@4679 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4679 | 34 genpkg_rules() |
pankso@4679 | 35 { |
Hans-G?nter@21369 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@21369 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@21369 | 38 |
Hans-G?nter@21369 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21369 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21369 | 41 cp -a $install/usr/lib/lives $fs/usr/lib |
Hans-G?nter@21369 | 42 cp -a $install/usr/share/lives $fs/usr/share |
Hans-G?nter@21369 | 43 |
pascal@19930 | 44 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \; |
Hans-G?nter@21369 | 45 |
pascal@19930 | 46 # Fix the name (.desktop) file. |
pascal@19930 | 47 sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop |
pankso@4679 | 48 } |