wok-next view pyradio/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
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 LICENSE="MIT"
9 WEB_SITE="http://www.coderholic.com/pyradio/"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="git|git://github.com/coderholic/pyradio.git"
14 BRANCH="$VERSION"
16 DEPENDS="ncurses mplayer python"
17 BUILD_DEPENDS="git"
19 genpkg_rules() {
20 mkdir -p $fs/usr/bin $fs/usr/share/pyradio
21 cp -a $src/pyradio $fs/usr/bin
22 cp -a $src/stations.csv $fs/usr/share/pyradio
23 cp -a $src/README $fs/usr/share/pyradio
24 #cp -a $src/LICENCE $fs/usr/share/pyradio
25 }
27 post_install() {
28 # hack for path to stations file
29 sed -i 's|__file__|"/usr/share/pyradio/"|g' "$1/usr/bin/pyradio"
30 }