wok-current view pyradio/receipt @ rev 21894
updated scrub (2.4 -> 2.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 14:15:41 2019 +0100 (2019-10-03) |
parents | 338d2ab24fb7 |
children | 99b982c720a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyradio"
4 VERSION="0.7.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 python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i '1a\# -*- coding: utf-8 -*-' pyradio/radio.py
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 }