wok-next view cplay/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }