wok-next view cmus/receipt @ rev 21616

updated ed (1.14.2 -> 1.16)
author Hans-G?nter Theisgen
date Thu Jun 25 13:24:06 2020 +0100 (2020-06-25)
parents b84b01f3048e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cmus"
4 VERSION="2.8.0"
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="alsa-lib-dev faad2-dev ffmpeg-dev flac-dev jack-dev
15 libao-dev libcddb-dev libcdio-paranoia-dev libcue-dev libmad-dev
16 libmodplug-dev libsamplerate-dev libvorbis-dev ncurses-dev
17 opusfile-dev pulseaudio-dev wavpack-dev"
18 SPLIT="$PACKAGE-plugins $PACKAGE"
20 compile_rules()
21 {
22 # can't use $CONFIGURE_ARGS
23 ./configure \
24 prefix=/usr &&
25 make &&
26 make install
27 }
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 *-plugins)
33 # cue.so in the main package because bin/cmus depends on libcue too
34 copy aac.so cdio.so modplug.so wavpack.so ao.so jack.so oss.so \
35 pulse.so
37 CAT="multimedia|extra plugins"
38 DEPENDS="cmus faad2 jack libao libcddb libcdio libcdio-paranoia \
39 libmodplug libsamplerate pulseaudio wavpack"
40 ;;
41 *)
42 copy @std @rm
44 DEPENDS="alsa-lib flac libcue libmad libvorbis ncurses opusfile"
45 ;;
46 esac
47 }