wok view cplay/receipt @ rev 19082

Tiny edits: use Freedesktop standard icons for terminal and text editor...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 29 16:03:09 2016 +0300 (2016-04-29)
parents dfef8de3d270
children 42e0165c64b9
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 make
19 make cplayrc
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/doc/cplay/examples
26 cp -a $src/cplay $fs/usr/bin
27 cp -a $src/cplayrc $fs/etc
28 # Copy locale cplay.mo files
29 for lang in da de hu pl; do
30 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
31 cp -a $src/po/$lang.mo \
32 $fs/usr/share/locale/$lang/LC_MESSAGES/cplay.mo
33 done
34 # Copy remote control files
35 cp -a $src/lircrc $fs/usr/share/doc/cplay/examples
36 }
38 post_install()
39 {
40 newline
41 action 'Modprobing snd-pcm-oss for legacy volume controls...'
42 [ "$1" ] || modprobe snd-pcm-oss
43 status
44 }