wok view lives/receipt @ rev 19930
lives: fix symlink (thanks I-Jurij)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 15:00:16 2017 +0200 (2017-04-26) |
parents | 843a4df9e36a |
children | 6f52735cb8a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lives"
4 VERSION="1.3.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Simple to use, yet powerful video editor and VJ tool."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 SOURCE="LiVES"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://lives.sourceforge.net/"
12 WGET_URL="http://www.xs4all.nl/%7Esalsaman/lives/current/$TARBALL"
14 DEPENDS="alsa-lib libpng gtk+ sox mjpegtools libavc1394 liboil libtheora"
15 BUILD_DEPENDS="alsa-lib alsa-lib-dev libpng-dev gtk+-dev procps expat-dev perl"
17 # Rules to configure and make the package.
18 #
19 compile_rules()
20 {
21 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile*
22 ./configure \
23 --prefix=/usr \
24 --disable-jack \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install 2>&1 | \
28 sed "s/gmo': No such file/gmo': no such file/"
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/lives $fs/usr/lib
38 cp -a $install/usr/share/lives $fs/usr/share
39 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
40 # Fix the name (.desktop) file.
41 sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop
42 }