wok-current view pyradio/receipt @ rev 14697

expedite: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:38 2013 +0200 (2013-06-06)
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 }