wok view pyradio/receipt @ rev 21792

Fix ardour & bastet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 05 12:45:42 2019 +0200 (2019-08-05)
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 }