wok-next view miro/receipt @ rev 20545
vmtouch: create $install/usr/bin path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 03 15:08:22 2018 +0200 (2018-04-03) |
parents | 0e8dadf052b9 |
children | af2860af5ac8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="miro"
4 VERSION="6.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="The free and open source internet TV platform."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.getmiro.com"
11 WGET_URL="http://ftp.osuosl.org/pub/pculture.org/$PACKAGE/src/$TARBALL"
13 DEPENDS="dbus-python python-pyrex pygtk gstreamer0 python-pysqlite pywebkitgtk \
14 shared-mime-info desktop-file-utils hicolor-icon-theme gst0-python notify-python \
15 libtorrent-rasterbar gst0-plugins-base gst0-plugins-good gst0-ffmpeg \
16 pycurl taglib python-gconf"
17 BUILD_DEPENDS="$DEPENDS python-dev dbus-python-dev pygtk-dev gstreamer0-dev \
18 shared-mime-info-dev gst0-python-dev libtorrent-rasterbar-dev libsoup-dev \
19 libwebkit-dev gst0-plugins-base-dev gst0-plugins-good-dev ffmpeg-dev \
20 imagemagick-dev taglib-dev libboost-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/linux
26 python setup.py install --root=$DESTDIR
27 sed -i "s|./miro.real|/usr/bin/miro.real|g" $DESTDIR/usr/bin/miro
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/icons $fs/usr/share
38 cp -a $install/usr/share/miro $fs/usr/share
39 }