wok-6.x view miro/receipt @ rev 10477
youtube-dl: Fixed genpkg_rules.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 06:00:18 2011 +0000 (2011-05-25) |
parents | c57c251fb82b |
children | 47439c60021f |
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 python-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=$DESTDIR
19 sed -i "s|./miro.real|/usr/bin/miro.real|g" $DESTDIR/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 }