wok-next view cmus/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
parents | 860933d3b00d |
children | b05db6a65e27 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmus"
4 VERSION="2.7.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Small, fast and powerful console music player"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://cmus.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/cmus/cmus/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="ncurses-dev libcddb-dev libcdio-paranoia-dev flac-dev \
15 libmad-dev libmodplug-dev libvorbis-dev opusfile-dev wavpack-dev faad2-dev \
16 ffmpeg-dev libcue-dev pulseaudio-dev alsa-lib-dev jack-dev libsamplerate-dev \
17 libao-dev"
18 SPLIT="$PACKAGE-plugins $PACKAGE"
20 compile_rules() {
21 # can't use $CONFIGURE_ARGS
22 ./configure \
23 prefix=/usr &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 *-plugins)
31 # cue.so in the main package because bin/cmus depends on libcue too
32 copy aac.so cdio.so modplug.so wavpack.so ao.so jack.so oss.so \
33 pulse.so
34 CAT="multimedia|extra plugins"
35 DEPENDS="cmus faad2 jack libao libcddb libcdio libcdio-paranoia \
36 libmodplug libsamplerate pulseaudio wavpack"
37 ;;
38 *)
39 copy @std @rm
40 DEPENDS="alsa-lib flac libcue libmad libvorbis ncurses opusfile"
41 ;;
42 esac
43 }