wok-next annotate lives/receipt @ rev 19707
lives: fix symlink (thanks I-Jurij)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 08:21:13 2017 +0200 (2017-04-28) |
parents | 843a4df9e36a |
children | a284db259242 |
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@19707 | 21 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile* |
pascal@19707 | 22 ./configure \ |
pascal@19707 | 23 --prefix=/usr \ |
pascal@19707 | 24 --disable-jack \ |
pascal@19707 | 25 $CONFIGURE_ARGS && |
pascal@19707 | 26 make && |
pascal@19707 | 27 make DESTDIR=$DESTDIR install 2>&1 | \ |
pascal@19707 | 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@19707 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@19707 | 35 cp -a $install/usr/bin $fs/usr |
pascal@19707 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19707 | 37 cp -a $install/usr/lib/lives $fs/usr/lib |
pascal@19707 | 38 cp -a $install/usr/share/lives $fs/usr/share |
pascal@19707 | 39 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \; |
pascal@19707 | 40 # Fix the name (.desktop) file. |
pascal@19707 | 41 sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop |
pankso@4679 | 42 } |