wok view cplay/receipt @ rev 18681
Add firejail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 18:47:06 2015 +0100 (2015-12-09) |
parents | 60d3db644e56 |
children | 6fab3264ba87 |
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 echo "Processing post-install commands..."
41 echo -n "Modprobing snd-pcm-oss for legacy volume controls..."
42 [ "$1" ] || modprobe snd-pcm-oss
43 status
44 }