wok-6.x view radiotray/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | e919c5a2742d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="radiotray"
4 VERSION="0.7.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Online radio streaming player that runs on system tray."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://radiotray.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gst-python python python-lxml"
15 BUILD_DEPENDS="gst-python-dev python python-dev python-xdg"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/radiotray/files/releases/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/radiotray-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --prefix=/usr --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/radiotray $fs/usr/share
38 }