wok-stable view miro/receipt @ rev 7791

Fixed removal of .pyc files in miro.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Dec 24 02:15:22 2010 +0000 (2010-12-24)
parents e85b40e5b578
children c57c251fb82b
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 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 }