wok-current view lives/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents fde0d38132af
children be13f25e790b
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 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/lives $fs/usr/lib
36 cp -a $_pkg/usr/share/lives $fs/usr/share
37 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
38 }