wok view lives/receipt @ rev 21917

linux-zram: split swap according to cores count
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 05 11:36:18 2019 +0200 (2019-10-05)
parents b0eb186f4ba9
children ec55902e1f00
line source
1 # SliTaz package receipt.
3 PACKAGE="lives"
4 VERSION="2.10.2"
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 WEB_SITE="http://lives.sourceforge.net/"
11 SOURCE="LiVES"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="http://lives-video.com/releases/$TARBALL"
15 DEPENDS="alsa-lib gtk+ libavc1394 liboil libpng libtheora mjpegtools sox"
16 BUILD_DEPENDS="alsa-lib alsa-lib-dev expat-dev gtk+-dev libpng-dev perl procps"
18 # Rules to configure and make the package.
19 #
20 compile_rules()
21 {
22 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile*
24 ./configure \
25 --prefix=/usr \
26 --disable-jack \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install 2>&1 | \
30 sed "s/gmo': No such file/gmo': no such file/"
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/lives $fs/usr/lib
42 cp -a $install/usr/share/lives $fs/usr/share
44 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
46 # Fix the name (.desktop) file.
47 sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop
48 }