wok-6.x annotate radiotray/receipt @ rev 11528
Up json-glib-dev (0.14.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 18:45:32 2011 +0100 (2011-12-24) |
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 } |