aboutsummaryrefslogtreecommitdiff
path: root/package/bmon/bmon.mk
blob: 39a697733821199c8a58abcd9ec355bd010fd4a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
################################################################################
#
# bmon
#
################################################################################

BMON_VERSION = 2.1.0
BMON_SITE = http://distfiles.gentoo.org/distfiles

ifeq ($(BR2_PACKAGE_NCURSES),y)
BMON_DEPENDENCIES += ncurses
else
BMON_CONF_OPT += --disable-curses
endif

ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
BMON_DEPENDENCIES += alsa-lib
else
BMON_CONF_OPT += --disable-asound
endif

ifneq ($(BR2_PREFER_STATIC_LIB),y)
# link dynamically unless explicitly requested otherwise
BMON_CONF_OPT += --disable-static
endif

$(eval $(autotools-package))