wok-next annotate pyradio/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 9e01bc6321ea |
children | 0cbe4b1f2230 |
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" |
al@21020 | 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 |
al@21020 | 17 genpkg_rules() { |
paul@11677 | 18 mkdir -p $fs/usr/bin $fs/usr/share/pyradio |
paul@11677 | 19 cp -a $src/pyradio $fs/usr/bin |
paul@11677 | 20 cp -a $src/stations.csv $fs/usr/share/pyradio |
paul@11677 | 21 cp -a $src/README $fs/usr/share/pyradio |
paul@11677 | 22 #cp -a $src/LICENCE $fs/usr/share/pyradio |
paul@11677 | 23 } |
paul@11677 | 24 |
al@21020 | 25 post_install() { |
paul@11677 | 26 # hack for path to stations file |
pascal@18730 | 27 sed -i 's|__file__|"/usr/share/pyradio/"|g' "$1/usr/bin/pyradio" |
paul@11677 | 28 } |