wok-current view miro/receipt @ rev 8981

Automated merge with http://hg.slitaz.org/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 02 20:58:26 2011 +0100 (2011-03-02)
parents 9e863d369e88
children fd0cd02a0549
line source
1 # SliTaz package receipt.
3 PACKAGE="miro"
4 VERSION="3.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="The free and open source internet TV platform."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="dbus-python python-pyrex pygtk gstreamer pysqlite pywebkitgtk shared-mime-info desktop-file-utils hicolor-icon-theme gst-python python-notify libtorrent-rasterbar gst-plugins-base gst-plugins-good pycurl python-gconf"
9 BUILD_DEPENDS="$DEPENDS python-dev dbus-python-dev pygtk-dev gstreamer-dev shared-mime-info-dev gst-python-dev libtorrent-rasterbar-dev libsoup-dev libwebkit-dev gst-plugins-base-dev gst-plugins-good-dev imagemagick"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.getmiro.com"
12 WGET_URL="http://ftp.osuosl.org/pub/pculture.org/$PACKAGE/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/linux
18 python setup.py install --root=../_pkg
19 sed -i "s|./miro.real|/usr/bin/miro.real|g" ../_pkg/usr/bin/miro
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/share/miro $fs/usr/share
29 cp -a $_pkg/usr/share/mime $fs/usr/share
30 find $fs/usr/lib -name "*.pyc" -delete
31 }