wok-current view pyradio/receipt @ rev 13201
Up: iptables (1.4.15)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Aug 06 13:40:55 2012 +0200 (2012-08-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 }