wok view pyradio/receipt @ rev 21490

trickle: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 01 18:05:32 2019 +0200 (2019-05-01)
parents 9e01bc6321ea
children 5d50a02468c7
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 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 }