wok-next view cplay/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | b84b01f3048e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cplay"
4 VERSION="1.50"
5 CATEGORY="multimedia"
6 SHORT_DESC="Ncurses front-end for various audio players"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/hukka/cplay"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/hukka/cplay/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="gettext-dev"
16 compile_rules() {
17 make &&
18 make cplayrc &&
19 make install || return 1
21 install -Dm644 cplayrc $install/etc/cplayrc
22 install -Dm644 lircrc $install/usr/share/doc/cplay/examples/lircrc
23 }
25 genpkg_rules() {
26 copy @std *.mo
27 DEPENDS="python ncurses linux-sound"
28 }
30 post_install() {
31 newline
32 action 'Modprobing snd-pcm-oss for legacy volume controls...'
33 [ "$1" ] || modprobe snd-pcm-oss
34 status
35 }