logrotate: fix build with gcc 6
[buildroot-gz.git] / package / bmon / bmon.mk
blob91993b650fbed87b0963954ca90cd02a78d74128
1 ################################################################################
3 # bmon
5 ################################################################################
7 BMON_VERSION = 3.9
8 BMON_SITE = https://github.com/tgraf/bmon/releases/download/v$(BMON_VERSION)
9 BMON_DEPENDENCIES = host-pkgconf libconfuse libnl ncurses
10 BMON_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
11 BMON_LICENSE = BSD-2c, MIT
12 BMON_LICENSE_FILES = LICENSE.BSD LICENSE.MIT
14 # link dynamically unless explicitly requested otherwise
15 ifeq ($(BR2_STATIC_LIBS),)
16 BMON_CONF_OPTS += --disable-static
17 else
18 # forgets to explicitly link with pthread for libnl
19 BMON_CONF_OPTS += LIBS=-lpthread
20 endif
22 $(eval $(autotools-package))