wok view pyradio/receipt @ rev 11717

pcmanfm: update deps
author Richard Dunbar <mojo@slitaz.org>
date Sun Feb 19 18:43:15 2012 +0000 (2012-02-19)
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 }