wok-4.x view lives/receipt @ rev 6914
Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 23:49:16 2010 +0000 (2010-10-21) |
parents | 8960de1b7e32 |
children | 03933a919f81 |
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 $PACKAGE-$VERSION
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 }