wok-current rev 7789

Add miro.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Dec 24 00:59:58 2010 +0000 (2010-12-24)
parents 8f61ae7039d1
children e85b40e5b578
files miro/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/miro/receipt	Fri Dec 24 00:59:58 2010 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="miro"
     1.7 +VERSION="3.5.1"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="The free and open source internet TV platform."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +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"
    1.12 +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"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.getmiro.com"
    1.15 +WGET_URL="http://ftp.osuosl.org/pub/pculture.org/$PACKAGE/src/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src/linux
    1.21 +	python setup.py install --root=../_pkg
    1.22 +	sed -i "s|./miro.real|/usr/bin/miro.real|g" ../_pkg/usr/bin/miro
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $_pkg/usr/lib $fs/usr
    1.31 +	cp -a $_pkg/usr/share/miro $fs/usr/share
    1.32 +	cp -a $_pkg/usr/share/mime $fs/usr/share
    1.33 +	find -name "*.pyc" $fs/usr/lib -delete	
    1.34 +}
    1.35 +