wok annotate radiotray/receipt @ rev 12357
sane-backends: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 19 23:25:46 2012 +0200 (2012-04-19) |
parents | |
children | 466928a78475 |
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" |
pascal@11227 | 8 DEPENDS="python python-lxml" |
pascal@11227 | 9 BUILD_DEPENDS="python python-dev python-xdg" |
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 } |