wok annotate pyradio/receipt @ rev 23618
updated rrdtool packages (1.6.0 -> 1.7.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 11:28:26 2020 +0100 (2020-04-14) |
parents | 5d50a02468c7 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
paul@11677 | 1 # SliTaz package receipt. |
paul@11677 | 2 |
paul@11677 | 3 PACKAGE="pyradio" |
Hans-G?nter@23464 | 4 VERSION="0.8.7.2" |
paul@11677 | 5 CATEGORY="multimedia" |
paul@11677 | 6 SHORT_DESC="Ncurses internet radio player." |
paul@11677 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
Hans-G?nter@23464 | 9 WEB_SITE="https://www.coderholic.com/pyradio/" |
paul@11677 | 10 |
Hans-G?nter@23464 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23464 | 12 WGET_URL="https://github.com/coderholic/$PACKAGE/archive/$VERSION.tar.gz" |
Hans-G?nter@23464 | 13 |
Hans-G?nter@23464 | 14 DEPENDS="mplayer ncurses python" |
Hans-G?nter@23464 | 15 BUILD_DEPENDS="python-setuptools" |
mojo@21295 | 16 |
mojo@21295 | 17 # Rules to configure and make the package. |
mojo@21295 | 18 compile_rules() |
mojo@21295 | 19 { |
Hans-G?nter@23464 | 20 sed -i '1a\# -*- coding: utf-8 -*-' \ |
Hans-G?nter@23464 | 21 pyradio/radio.py |
Hans-G?nter@23464 | 22 |
Hans-G?nter@23464 | 23 python setup.py build && |
mojo@21295 | 24 python setup.py install --root=$DESTDIR |
mojo@21295 | 25 } |
pascal@15376 | 26 |
paul@11677 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@11677 | 28 genpkg_rules() |
paul@11677 | 29 { |
Hans-G?nter@23464 | 30 cp -a $install/* $fs |
paul@11677 | 31 } |