wok-undigest annotate cplay/receipt @ rev 1026
Add cplay
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jul 31 22:13:39 2013 +0100 (2013-07-31) |
parents | |
children | 9b837fe3af41 |
rev | line source |
---|---|
paul@1026 | 1 # SliTaz package receipt. |
paul@1026 | 2 |
paul@1026 | 3 PACKAGE="cplay" |
paul@1026 | 4 VERSION="1.49" |
paul@1026 | 5 CATEGORY="multimedia" |
paul@1026 | 6 SHORT_DESC="Cplay is an ncurses front-end for various audio players." |
paul@1026 | 7 MAINTAINER="paul@slitaz.org" |
paul@1026 | 8 DEPENDS="python ncurses linux-sound" |
paul@1026 | 9 BUILD_DEPENDS="python-dev ncurses-dev git bzip2 gettext" |
paul@1026 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@1026 | 11 WEB_SITE="https://github.com/res0nat0r/cplay" |
paul@1026 | 12 WGET_URL="git|"git://github.com/res0nat0r/cplay |
paul@1026 | 13 |
paul@1026 | 14 # Rules to configure and make the package. |
paul@1026 | 15 compile_rules() |
paul@1026 | 16 { |
paul@1026 | 17 cd $src |
paul@1026 | 18 make |
paul@1026 | 19 make cplayrc |
paul@1026 | 20 } |
paul@1026 | 21 |
paul@1026 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1026 | 23 genpkg_rules() |
paul@1026 | 24 { |
paul@1026 | 25 mkdir -p $fs/usr/bin $fs/etc |
paul@1026 | 26 cp -a $src/cplay $fs/usr/bin |
paul@1026 | 27 cp -a $src/cplayrc $fs/etc |
paul@1026 | 28 } |
paul@1026 | 29 |
paul@1026 | 30 post_install() |
paul@1026 | 31 { |
paul@1026 | 32 echo "Processing post-install commands..." |
paul@1026 | 33 echo -n "Modprobing snd-pcm-oss for legacy volume controls..." |
paul@1026 | 34 modprobe snd-pcm-oss |
paul@1026 | 35 status |
paul@1026 | 36 } |
paul@1026 | 37 |