wok view pyradio/receipt @ rev 14080

udisks: update deps - busybox mount does not understand the -o uhelper=udisks2 spawned by udisks
author ernia <monghitri@aruba.it>
date Fri Feb 22 17:25:25 2013 +0000 (2013-02-22)
parents
children bf4a09ef1d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="pyradio"
4 VERSION="0.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Ncurses internet radio player."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses mplayer python"
9 BUILD_DEPENDS="git"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.coderholic.com/pyradio/"
12 WGET_URL="git|git://github.com/coderholic/pyradio.git"
13 BRANCH="$VERSION"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin $fs/usr/share/pyradio
19 cp -a $src/pyradio $fs/usr/bin
20 cp -a $src/stations.csv $fs/usr/share/pyradio
21 cp -a $src/README $fs/usr/share/pyradio
22 #cp -a $src/LICENCE $fs/usr/share/pyradio
23 }
25 post_install()
26 {
27 # hack for path to stations file
28 sed -i 's|__file__|"/usr/share/pyradio/"|g' $1/usr/bin/pyradio
29 }