wok view cmus/receipt @ rev 24697

updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.2.0 -> 2.4.0)
author Hans-G?nter Theisgen
date Sun Mar 13 17:45:34 2022 +0100 (2022-03-13)
parents 5ea0ce1cecc0
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="cmus"
4 VERSION="2.9.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="A 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/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL"
14 DEPENDS="alsa-lib flac gcc83-lib-base libatomic libmad libvorbis ncurses"
15 BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libatomic libmad-dev libvorbis-dev
16 ncurses-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -latomic"
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 CONFIG_AO=n \
33 CONFIG_FFMPEG=n \
34 CONFIG_JACK=n \
35 CONFIG_OPUS=n \
36 CONFIG_PULSE=n \
37 CONFIG_ROAR=n \
38 CONFIG_SAMPLERATE=n \
39 prefix=/usr &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share
48 mkdir -p $fs/usr/bin
49 mkdir -p $fs/usr/lib
51 cp -a $install/usr/bin/cmus* $fs/usr/bin
52 cp -a $install/usr/lib/cmus $fs/usr/lib
53 cp -a $install/usr/share/cmus $fs/usr/share
54 }