wok annotate pyradio/receipt @ rev 23757

fusecloop/extract_compressed_fs: fix v2 convertion
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 02 17:31:45 2020 +0000 (2020-05-02)
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 }