wok view cmus/receipt @ rev 23677

updated subversion and subversion-dev (1.12.2 -> 1.13.0)
author Hans-G?nter Theisgen
date Sun Apr 26 10:52:21 2020 +0100 (2020-04-26)
parents 860933d3b00d
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="cmus"
4 VERSION="2.8.0"
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 libmad libvorbis ncurses"
15 BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libmad-dev libvorbis-dev
16 ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -latomic"
23 ./configure \
24 CC=gcc-83 \
25 CXX=g++-83 \
26 CONFIG_AO=n \
27 CONFIG_FFMPEG=n \
28 CONFIG_JACK=n \
29 CONFIG_OPUS=n \
30 CONFIG_PULSE=n \
31 CONFIG_ROAR=n \
32 CONFIG_SAMPLERATE=n \
33 prefix=/usr &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 mkdir -p $fs/usr/bin
43 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin/cmus* $fs/usr/bin
46 cp -a $install/usr/lib/cmus $fs/usr/lib
47 cp -a $install/usr/share/cmus $fs/usr/share
48 }