SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pyradio"

# SliTaz package receipt.

PACKAGE="pyradio"
VERSION="0.4"
CATEGORY="multimedia"
SHORT_DESC="Ncurses internet radio player."
MAINTAINER="paul@slitaz.org"
DEPENDS="ncurses mplayer python"
BUILD_DEPENDS="git"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.coderholic.com/pyradio/"
WGET_URL="git|git://github.com/coderholic/pyradio.git"
BRANCH="$VERSION"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/pyradio
    cp -a $src/pyradio $fs/usr/bin
    cp -a $src/stations.csv $fs/usr/share/pyradio
    cp -a $src/README $fs/usr/share/pyradio
    #cp -a $src/LICENCE $fs/usr/share/pyradio
}

post_install()
{
    # hack for path to stations file
    sed -i 's|__file__|"/usr/share/pyradio/"|g' $1/usr/bin/pyradio 
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)