wok annotate 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
rev   line source
paul@11677 1 # SliTaz package receipt.
paul@11677 2
paul@11677 3 PACKAGE="pyradio"
mojo@21295 4 VERSION="0.7.4"
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"
paul@11677 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@11677 10 WEB_SITE="http://www.coderholic.com/pyradio/"
paul@11677 11 WGET_URL="git|git://github.com/coderholic/pyradio.git"
paul@11677 12 BRANCH="$VERSION"
paul@11677 13
pascal@15376 14 DEPENDS="ncurses mplayer python"
mojo@21295 15 BUILD_DEPENDS="git setuptools"
mojo@21295 16
mojo@21295 17 # Rules to configure and make the package.
mojo@21295 18 compile_rules()
mojo@21295 19 {
mojo@21295 20 sed -i '1a\# -*- coding: utf-8 -*-' pyradio/radio.py
mojo@21295 21 python setup.py build
mojo@21295 22 python setup.py install --root=$DESTDIR
mojo@21295 23 }
pascal@15376 24
paul@11677 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@11677 26 genpkg_rules()
paul@11677 27 {
mojo@21295 28 cp -a $install/* $fs
paul@11677 29 }
paul@11677 30
paul@11677 31