wok-6.x view pyradio/receipt @ rev 23943

Up cryptsetup-dev (2.3.4), lzham_codec (1_0_stable1), slitaz-boot-scripts (466), tazlito (527)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 17 10:31:38 2020 +0000 (2020-09-17)
parents 5d50a02468c7
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="pyradio"
4 VERSION="0.8.7.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Ncurses internet radio player."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.coderholic.com/pyradio/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/coderholic/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="mplayer ncurses python"
15 BUILD_DEPENDS="python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i '1a\# -*- coding: utf-8 -*-' \
21 pyradio/radio.py
23 python setup.py build &&
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 }