SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "radiotray"

# SliTaz package receipt.

PACKAGE="radiotray"
VERSION="0.7.3"
CATEGORY="multimedia"
SHORT_DESC="Online radio streaming player that runs on system tray."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://radiotray.sourceforge.net/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gst-python python python-lxml"
BUILD_DEPENDS="gst-python-dev python python-dev python-xdg"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/radiotray/files/releases/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*/radiotray-||;s|.tar.*||;q' 
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --prefix=/usr --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/lib            $fs/usr
    cp -a $install/usr/share/radiotray    $fs/usr/share
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)