wok-6.x diff cplay/receipt @ rev 15865
aufs: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 17:31:57 2014 +0000 (2014-01-30) |
parents | |
children | 60d3db644e56 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cplay/receipt Thu Jan 30 17:31:57 2014 +0000 1.3 @@ -0,0 +1,46 @@ 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 +LICENSE="GPL2" 1.12 +DEPENDS="python ncurses linux-sound" 1.13 +BUILD_DEPENDS="python-dev ncurses-dev git bzip2 gettext" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WEB_SITE="https://github.com/res0nat0r/cplay" 1.16 +WGET_URL="git|"git://github.com/res0nat0r/cplay 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + make 1.23 + make cplayrc 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/doc/cplay/examples 1.30 + cp -a $src/cplay $fs/usr/bin 1.31 + cp -a $src/cplayrc $fs/etc 1.32 + # Copy locale cplay.mo files 1.33 + for lang in da de hu pl; do 1.34 + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.35 + cp -a $src/po/$lang.mo \ 1.36 + $fs/usr/share/locale/$lang/LC_MESSAGES/cplay.mo 1.37 + done 1.38 + # Copy remote control files 1.39 + cp -a $src/lircrc $fs/usr/share/doc/cplay/examples 1.40 +} 1.41 + 1.42 +post_install() 1.43 +{ 1.44 + echo "Processing post-install commands..." 1.45 + echo -n "Modprobing snd-pcm-oss for legacy volume controls..." 1.46 + modprobe snd-pcm-oss 1.47 + status 1.48 +} 1.49 +