wok-next view pyradio/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 9e01bc6321ea
children 0cbe4b1f2230
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.coderholic.com/pyradio/"
11 WGET_URL="git|git://github.com/coderholic/pyradio.git"
12 BRANCH="$VERSION"
14 DEPENDS="ncurses mplayer python"
15 BUILD_DEPENDS="git"
17 genpkg_rules() {
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 # hack for path to stations file
27 sed -i 's|__file__|"/usr/share/pyradio/"|g' "$1/usr/bin/pyradio"
28 }