wok annotate openshot/receipt @ rev 15625

nut: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 16:00:02 2013 +0000 (2013-12-08)
parents 044c9f323813
children 533c0cab6960
rev   line source
jozee@6829 1 # SliTaz package receipt.
jozee@6829 2
jozee@6829 3 PACKAGE="openshot"
pascal@13623 4 VERSION="1.4.3"
jozee@6829 5 CATEGORY="multimedia"
jozee@6829 6 MAINTAINER="jozee@slitaz.org"
pascal@14999 7 LICENSE="GPL3"
jozee@6829 8 SHORT_DESC="an open-source, non-linear video editor for Linux based on MLT framework"
jozee@6829 9 WEB_SITE="http://www.openshotvideo.com/"
pascal@14999 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14999 11 WGET_URL="https://launchpad.net/openshot/${VERSION%.*}/$VERSION/+download/$TARBALL"
pascal@14999 12 TAGS=""
pascal@14999 13
pascal@13623 14 DEPENDS="mlt-python-bindings pygoocanvas libsdl librsvg python-xdg \
pascal@13623 15 frei0r-plugins python-pil python-httplib2"
jozee@6829 16 SUGGESTED="dvgrab libquicktime libavc1394 faac jack-audio-connection-kit ladspa"
pascal@13623 17 BUILD_DEPENDS="mlt-dev librsvg-dev libsdl-dev frei0r-plugins-dev sox-dev \
pascal@13623 18 ffmpeg-dev goocanvas-dev wget"
jozee@6829 19
jozee@6829 20 # Rules to configure and make the package.
jozee@6829 21 compile_rules() {
jozee@6829 22
jozee@6829 23 cd $src
slaxemulator@9246 24 python setup.py install --root=$DESTDIR --optimize=1
jozee@6829 25 }
jozee@6829 26
jozee@6829 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6829 28 genpkg_rules()
jozee@6829 29 {
jozee@6829 30 mkdir -p $fs/usr/share
pascal@13623 31 cp -a $install/usr/bin $fs/usr
pascal@13623 32 cp -a $install/usr/lib $fs/usr
pascal@13623 33 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@13623 34 cp -a $install/usr/share/mime $fs/usr/share
jozee@6829 35 }