wok-6.x annotate lives/receipt @ rev 24132
Up tazinst (114)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:07:33 2021 +0000 (2021-10-23) |
parents | 6f52735cb8a2 |
children | ede1d184d5c5 |
rev | line source |
---|---|
pankso@4679 | 1 # SliTaz package receipt. |
pankso@4679 | 2 |
pankso@4679 | 3 PACKAGE="lives" |
Hans-G?nter@23139 | 4 VERSION="3.0.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@23139 | 9 WEB_SITE="http://lives-video.com/" |
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 { |
Hans-G?nter@23139 | 22 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' \ |
Hans-G?nter@23139 | 23 Makefile* |
Hans-G?nter@21369 | 24 |
Hans-G?nter@21369 | 25 ./configure \ |
Hans-G?nter@21369 | 26 --prefix=/usr \ |
Hans-G?nter@21369 | 27 --disable-jack \ |
Hans-G?nter@21369 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@21369 | 29 make -j 1 && |
pascal@19930 | 30 make DESTDIR=$DESTDIR install 2>&1 | \ |
Hans-G?nter@21369 | 31 sed "s/gmo': No such file/gmo': no such file/" |
pankso@4679 | 32 } |
pankso@4679 | 33 |
pankso@4679 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4679 | 35 genpkg_rules() |
pankso@4679 | 36 { |
Hans-G?nter@21369 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@21369 | 38 mkdir -p $fs/usr/share |
Hans-G?nter@21369 | 39 |
Hans-G?nter@21369 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21369 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21369 | 42 cp -a $install/usr/lib/lives $fs/usr/lib |
Hans-G?nter@21369 | 43 cp -a $install/usr/share/lives $fs/usr/share |
Hans-G?nter@21369 | 44 |
pascal@19930 | 45 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \; |
Hans-G?nter@21369 | 46 |
pascal@19930 | 47 # Fix the name (.desktop) file. |
Hans-G?nter@23139 | 48 sed -i 's/^Exec=.*/Exec=lives-exe/' \ |
Hans-G?nter@23139 | 49 $install/usr/share/applications/LiVES.desktop |
pankso@4679 | 50 } |