wok-current view cplay/receipt @ rev 20211

syslinux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 11:30:52 2018 +0100 (2018-02-24)
parents 6fab3264ba87
children def96b81ebd9
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
21 cook_pick_manpages cplay.1
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/doc/cplay/examples
28 cp -a $src/cplay $fs/usr/bin
29 cp -a $src/cplayrc $fs/etc
30 # Copy locale cplay.mo files
31 for lang in da de hu pl; do
32 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
33 cp -a $src/po/$lang.mo \
34 $fs/usr/share/locale/$lang/LC_MESSAGES/cplay.mo
35 done
36 # Copy remote control files
37 cp -a $src/lircrc $fs/usr/share/doc/cplay/examples
38 }
40 post_install()
41 {
42 newline
43 action 'Modprobing snd-pcm-oss for legacy volume controls...'
44 [ "$1" ] || modprobe snd-pcm-oss
45 status
46 }