wok-current annotate pyradio/receipt @ rev 16574

Add: mpl123 - Very light weight ncurses audio player (will be the default for SliTaz Pi)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 21:48:39 2014 +0200 (2014-05-02)
parents 1a734f9c5581
children 9e01bc6321ea
rev   line source
paul@11677 1 # SliTaz package receipt.
paul@11677 2
paul@11677 3 PACKAGE="pyradio"
paul@11677 4 VERSION="0.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"
pascal@15376 15 BUILD_DEPENDS="git"
pascal@15376 16
paul@11677 17 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@11677 18 genpkg_rules()
paul@11677 19 {
paul@11677 20 mkdir -p $fs/usr/bin $fs/usr/share/pyradio
paul@11677 21 cp -a $src/pyradio $fs/usr/bin
paul@11677 22 cp -a $src/stations.csv $fs/usr/share/pyradio
paul@11677 23 cp -a $src/README $fs/usr/share/pyradio
paul@11677 24 #cp -a $src/LICENCE $fs/usr/share/pyradio
paul@11677 25 }
paul@11677 26
paul@11677 27 post_install()
paul@11677 28 {
paul@11677 29 # hack for path to stations file
paul@11677 30 sed -i 's|__file__|"/usr/share/pyradio/"|g' $1/usr/bin/pyradio
paul@11677 31 }
paul@11677 32