wok diff pyradio/receipt @ rev 12294

linux: build first the x86_64 kernel
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 16 09:42:04 2012 +0200 (2012-04-16)
parents
children bf4a09ef1d2e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pyradio/receipt	Mon Apr 16 09:42:04 2012 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pyradio"
     1.7 +VERSION="0.4"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Ncurses internet radio player."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="ncurses mplayer python"
    1.12 +BUILD_DEPENDS="git"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.coderholic.com/pyradio/"
    1.15 +WGET_URL="git|git://github.com/coderholic/pyradio.git"
    1.16 +BRANCH="$VERSION"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	mkdir -p $fs/usr/bin $fs/usr/share/pyradio
    1.22 +	cp -a $src/pyradio $fs/usr/bin
    1.23 +	cp -a $src/stations.csv $fs/usr/share/pyradio
    1.24 +	cp -a $src/README $fs/usr/share/pyradio
    1.25 +	#cp -a $src/LICENCE $fs/usr/share/pyradio
    1.26 +}
    1.27 +
    1.28 +post_install()
    1.29 +{
    1.30 +	# hack for path to stations file
    1.31 +	sed -i 's|__file__|"/usr/share/pyradio/"|g' $1/usr/bin/pyradio 
    1.32 +}
    1.33 +