wok-6.x view radiotray/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | f6d46bb4521b |
children | 7dd01dedad38 |
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="http://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 }