wok-next view pyradio/receipt @ rev 19957

Up fuse-emulator, gpgme, libnetfilter_conntrack, libnetfilter_cthelper, libnetfilter_cttimeout, libnetfilter_queue, libnfnetlink, libsdl, libspectrum, libstatgrab, libstroke, subversion, sysfsutils, taglib, tcl, tcpcrypt, tidy, tk, tokyocabinet, udisks2. Add fuse-emulator-gtk3, libblockdev, libbytesize, libstroke, volume_key.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 16 22:34:14 2017 +0300 (2017-10-16)
parents bf4a09ef1d2e
children d5aab818505e
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 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
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 {
29 # hack for path to stations file
30 sed -i 's|__file__|"/usr/share/pyradio/"|g' "$1/usr/bin/pyradio"
31 }