wok-6.x view miro/receipt @ rev 14065

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents 33a8e0af2a15
children 7e1963cdd8f5
line source
1 # SliTaz package receipt.
3 PACKAGE="miro"
4 VERSION="5.0.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="The free and open source internet TV platform."
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.getmiro.com"
10 WGET_URL="http://ftp.osuosl.org/pub/pculture.org/$PACKAGE/src/$TARBALL"
12 DEPENDS="dbus-python python-pyrex pygtk gstreamer python-pysqlite pywebkitgtk \
13 shared-mime-info desktop-file-utils hicolor-icon-theme gst-python notify-python \
14 libtorrent-rasterbar gst-plugins-base gst-plugins-good gst-ffmpeg \
15 pycurl taglib python-gconf"
16 BUILD_DEPENDS="$DEPENDS python-dev dbus-python-dev pygtk-dev gstreamer-dev \
17 shared-mime-info-dev gst-python-dev libtorrent-rasterbar-dev libsoup-dev \
18 libwebkit-dev gst-plugins-base-dev gst-plugins-good-dev ffmpeg-dev imagemagick-dev taglib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src/linux
24 python setup.py install --root=$DESTDIR
25 sed -i "s|./miro.real|/usr/bin/miro.real|g" $DESTDIR/usr/bin/miro
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/share/miro $fs/usr/share
35 cp -a $install/usr/share/mime $fs/usr/share
36 cp -a $install/usr/share/applications $fs/usr/share
37 cp -a $install/usr/share/icons/hicolor/48x48/apps/miro.png $fs/usr/share/pixmaps
38 }