wok-current view cplay/receipt @ rev 16391
Add: i2c-tools (for the Raspberry Pi GPIO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 14:19:15 2014 +0200 (2014-04-15) |
parents | |
children | 60d3db644e56 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cplay"
4 VERSION="1.49"
5 CATEGORY="multimedia"
6 SHORT_DESC="Cplay is an ncurses front-end for various audio players."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="python ncurses linux-sound"
10 BUILD_DEPENDS="python-dev ncurses-dev git bzip2 gettext"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="https://github.com/res0nat0r/cplay"
13 WGET_URL="git|"git://github.com/res0nat0r/cplay
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make
20 make cplayrc
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/doc/cplay/examples
27 cp -a $src/cplay $fs/usr/bin
28 cp -a $src/cplayrc $fs/etc
29 # Copy locale cplay.mo files
30 for lang in da de hu pl; do
31 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
32 cp -a $src/po/$lang.mo \
33 $fs/usr/share/locale/$lang/LC_MESSAGES/cplay.mo
34 done
35 # Copy remote control files
36 cp -a $src/lircrc $fs/usr/share/doc/cplay/examples
37 }
39 post_install()
40 {
41 echo "Processing post-install commands..."
42 echo -n "Modprobing snd-pcm-oss for legacy volume controls..."
43 modprobe snd-pcm-oss
44 status
45 }