2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-07-26 22:03:15 +02:00
|
|
|
#
|
|
|
|
# bmon
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-07-26 22:03:15 +02:00
|
|
|
|
2016-12-18 14:42:38 +01:00
|
|
|
BMON_VERSION = 4.0
|
2015-03-09 23:14:51 +01:00
|
|
|
BMON_SITE = https://github.com/tgraf/bmon/releases/download/v$(BMON_VERSION)
|
2014-06-26 20:06:39 +02:00
|
|
|
BMON_DEPENDENCIES = host-pkgconf libconfuse libnl ncurses
|
2015-07-14 16:06:19 +02:00
|
|
|
BMON_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
2015-04-01 21:48:59 +02:00
|
|
|
BMON_LICENSE = BSD-2c, MIT
|
|
|
|
BMON_LICENSE_FILES = LICENSE.BSD LICENSE.MIT
|
2011-06-17 09:15:42 +02:00
|
|
|
|
2011-06-17 09:10:29 +02:00
|
|
|
# link dynamically unless explicitly requested otherwise
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),)
|
2014-09-27 21:32:44 +02:00
|
|
|
BMON_CONF_OPTS += --disable-static
|
2014-06-26 20:06:39 +02:00
|
|
|
else
|
|
|
|
# forgets to explicitly link with pthread for libnl
|
2014-09-27 21:32:44 +02:00
|
|
|
BMON_CONF_OPTS += LIBS=-lpthread
|
2011-06-17 09:10:29 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|