wok-undigest rev 1026
Add cplay
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jul 31 22:13:39 2013 +0100 (2013-07-31) |
parents | 5c38d4d4720d |
children | 9b837fe3af41 |
files | cplay/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cplay/receipt Wed Jul 31 22:13:39 2013 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cplay" 1.7 +VERSION="1.49" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Cplay is an ncurses front-end for various audio players." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="python ncurses linux-sound" 1.12 +BUILD_DEPENDS="python-dev ncurses-dev git bzip2 gettext" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="https://github.com/res0nat0r/cplay" 1.15 +WGET_URL="git|"git://github.com/res0nat0r/cplay 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + make 1.22 + make cplayrc 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/bin $fs/etc 1.29 + cp -a $src/cplay $fs/usr/bin 1.30 + cp -a $src/cplayrc $fs/etc 1.31 +} 1.32 + 1.33 +post_install() 1.34 +{ 1.35 + echo "Processing post-install commands..." 1.36 + echo -n "Modprobing snd-pcm-oss for legacy volume controls..." 1.37 + modprobe snd-pcm-oss 1.38 + status 1.39 +} 1.40 +