wok-6.x view avidemux/receipt @ rev 4307

icedtea6-jdk: be busybox compatible (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 15:24:08 2009 +0200 (2009-09-28)
parents c616ce6b7873
children 031de49a098c
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"
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 mkdir $WOK/$PACKAGE/avidemux-$VERSION
19 mv $WOK/$PACKAGE/avidemux_$VERSION $WOK/$PACKAGE/avidemux-$VERSION/src
20 cd $src
21 mkdir built
22 cd built
23 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src
24 make && make DESTDIR=$PWD/../_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/applications
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a stuff/avidemux.desktop $fs/usr/share/applications/
33 }