wok-4.x annotate miro/receipt @ rev 8581

imported patch get/tty-clock
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:57 2011 +0100 (2011-02-13)
parents 9e863d369e88
children fd0cd02a0549
rev   line source
slaxemulator@7789 1 # SliTaz package receipt.
slaxemulator@7789 2
slaxemulator@7789 3 PACKAGE="miro"
slaxemulator@7789 4 VERSION="3.5.1"
slaxemulator@7789 5 CATEGORY="multimedia"
slaxemulator@7789 6 SHORT_DESC="The free and open source internet TV platform."
slaxemulator@7789 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@8450 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"
slaxemulator@7789 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"
slaxemulator@7789 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7789 11 WEB_SITE="http://www.getmiro.com"
slaxemulator@7789 12 WGET_URL="http://ftp.osuosl.org/pub/pculture.org/$PACKAGE/src/$TARBALL"
slaxemulator@7789 13
slaxemulator@7789 14 # Rules to configure and make the package.
slaxemulator@7789 15 compile_rules()
slaxemulator@7789 16 {
slaxemulator@7789 17 cd $src/linux
slaxemulator@7789 18 python setup.py install --root=../_pkg
slaxemulator@7789 19 sed -i "s|./miro.real|/usr/bin/miro.real|g" ../_pkg/usr/bin/miro
slaxemulator@7789 20 }
slaxemulator@7789 21
slaxemulator@7789 22 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7789 23 genpkg_rules()
slaxemulator@7789 24 {
slaxemulator@7789 25 mkdir -p $fs/usr/share
slaxemulator@7789 26 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7789 27 cp -a $_pkg/usr/lib $fs/usr
slaxemulator@7789 28 cp -a $_pkg/usr/share/miro $fs/usr/share
slaxemulator@7789 29 cp -a $_pkg/usr/share/mime $fs/usr/share
slaxemulator@7791 30 find $fs/usr/lib -name "*.pyc" -delete
slaxemulator@7789 31 }
slaxemulator@7789 32