wok view avidemux/receipt @ rev 5010
avidemux: need gnu patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 19:11:52 2010 +0100 (2010-02-28) |
parents | 395ec8205cff |
children | ec066bd77049 |
line source
1 # SliTaz package receipt.
3 PACKAGE="avidemux"
4 VERSION="2.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="free video editor"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="libsdl alsa-lib libsdl-gfx libxml2 xorg-libXv gtk+ cairo-xcb libQtGui"
9 BUILD_DEPENDS="cmake alsa-lib-dev libsdl-dev libsdl-gfx-dev"
10 TARBALL="avidemux_$VERSION.tar.gz"
11 WEB_SITE="http://fixounet.free.fr/$PACKAGE"
12 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
13 TAGS="video movie editor avi mpeg mp4"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -L /usr/bin/patch ] && tazpkg get-install patch --forced
19 mkdir $WOK/$PACKAGE/avidemux-$VERSION
20 mv $WOK/$PACKAGE/avidemux_$VERSION $WOK/$PACKAGE/avidemux-$VERSION/src
21 cd $src
22 mkdir built
23 cd built
24 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src
25 make && 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/share/ADM_scripts $fs/usr/share
35 }