wok-stable view pyradio/receipt @ rev 12161

Fix several deps according to issue126
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 17 21:59:51 2012 +0100 (2012-03-17)
parents
children
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 }