wok-6.x annotate radiotray/receipt @ rev 14901
Add python-magic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 31 11:54:19 2013 +0200 (2013-07-31) |
parents | 532ab3b57d40 |
children | 02efefc5d9de |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="radiotray" |
pascal@11227 | 4 VERSION="0.6.1" |
pascal@11227 | 5 CATEGORY="multimedia" |
pascal@11227 | 6 SHORT_DESC="Online radio streaming player that runs on system tray." |
pascal@11227 | 7 MAINTAINER="pankso@slitaz.org" |
admin@13675 | 8 DEPENDS="python python-lxml gst-python" |
admin@13675 | 9 BUILD_DEPENDS="python python-dev python-xdg gst-python-dev" |
pascal@11227 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11227 | 11 WEB_SITE="http://radiotray.sourceforge.net/" |
pascal@11227 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 13 |
pascal@11227 | 14 # Rules to configure and make the package. |
pascal@11227 | 15 compile_rules() |
pascal@11227 | 16 { |
pascal@11227 | 17 cd $src |
pascal@11227 | 18 python setup.py install --prefix=/usr --root=$PWD/_pkg |
pascal@11227 | 19 } |
pascal@11227 | 20 |
pascal@11227 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 22 genpkg_rules() |
pascal@11227 | 23 { |
pascal@11227 | 24 mkdir -p $fs/usr/share |
pascal@11227 | 25 cp -a $_pkg/usr/bin $fs/usr |
pascal@11227 | 26 cp -a $_pkg/usr/lib $fs/usr |
pascal@11227 | 27 cp -a $_pkg/usr/share/radiotray $fs/usr/share |
pascal@11227 | 28 } |