wok-6.x view lives/receipt @ rev 11607

jssame: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 20 17:36:43 2012 +0100 (2012-01-20)
parents 03933a919f81
children 25e35ad06e08
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 SOURCE="LiVES"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://lives.sourceforge.net/"
11 WGET_URL="http://www.xs4all.nl/%7Esalsaman/lives/current/$TARBALL"
12 DEPENDS="alsa-lib libpng gtk+ sox mjpegtools libavc1394 liboil libtheora"
13 BUILD_DEPENDS="alsa-lib alsa-lib-dev libpng-dev gtk+-dev procps expat-dev perl"
15 # Rules to configure and make the package.
16 #
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --disable-jack \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/lives $fs/usr/lib
35 cp -a $_pkg/usr/share/lives $fs/usr/share
36 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
37 }