wok-6.x annotate 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
rev   line source
allan316@3201 1 # SliTaz package receipt.
allan316@3201 2
allan316@3201 3 PACKAGE="avidemux"
pascal@4303 4 VERSION="2.5.1"
allan316@3201 5 CATEGORY="multimedia"
allan316@3201 6 SHORT_DESC="free video editor"
allan316@3201 7 MAINTAINER="allan316@gmail.com"
pankso@3429 8 DEPENDS="libsdl alsa-lib libsdl-gfx"
pankso@3429 9 BUILD_DEPENDS="cmake alsa-lib-dev libsdl-dev libsdl-gfx-dev"
pascal@4303 10 TARBALL="avidemux_$VERSION.tar.gz"
allan316@3201 11 WEB_SITE="http://fixounet.free.fr/$PACKAGE"
allan316@3201 12 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
jozee@3564 13 TAGS="video movie editor avi mpeg mp4"
allan316@3201 14
allan316@3201 15 # Rules to configure and make the package.
allan316@3201 16 compile_rules()
allan316@3201 17 {
pascal@4303 18 mkdir $WOK/$PACKAGE/avidemux-$VERSION
pascal@4303 19 mv $WOK/$PACKAGE/avidemux_$VERSION $WOK/$PACKAGE/avidemux-$VERSION/src
allan316@3201 20 cd $src
pascal@4303 21 mkdir built
pascal@4303 22 cd built
pascal@4303 23 cmake -DCMAKE_INSTALL_PREFIX=/usr ../src
pascal@4303 24 make && make DESTDIR=$PWD/../_pkg install
allan316@3201 25 }
allan316@3201 26
allan316@3201 27 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3201 28 genpkg_rules()
allan316@3201 29 {
allan316@3201 30 mkdir -p $fs/usr/share/applications
allan316@3201 31 cp -a $_pkg/usr/bin $fs/usr
allan316@3201 32 cp -a stuff/avidemux.desktop $fs/usr/share/applications/
allan316@3201 33 }
allan316@3201 34