summaryrefslogtreecommitdiffstats
path: root/package/bmon/bmon.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-06-26 15:06:39 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-06-27 13:04:07 +0200
commit9f919c49e0af724d50bd06bcc59c3a333242267f (patch)
tree24531f3838ada3322305104b45d9f28f16b26370 /package/bmon/bmon.mk
parent9fbd8cc07e26cd4cc436e015a14aeee5563f2619 (diff)
downloadbuildroot-9f919c49e0af724d50bd06bcc59c3a333242267f.tar.gz
buildroot-9f919c49e0af724d50bd06bcc59c3a333242267f.zip
bmon: bump to version 3.2
And add license information, homepage and switch upstream source. [Peter: no longer needs IPv6/mmu, fix static link] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/bmon/bmon.mk')
-rw-r--r--package/bmon/bmon.mk26
1 files changed, 11 insertions, 15 deletions
diff --git a/package/bmon/bmon.mk b/package/bmon/bmon.mk
index 39a6977338..69be88f3c0 100644
--- a/package/bmon/bmon.mk
+++ b/package/bmon/bmon.mk
@@ -4,24 +4,20 @@
#
################################################################################
-BMON_VERSION = 2.1.0
-BMON_SITE = http://distfiles.gentoo.org/distfiles
+BMON_VERSION = 3.2
+BMON_SITE = $(call github,tgraf,bmon,v$(BMON_VERSION))
+# configure not shipped
+BMON_AUTORECONF = YES
+BMON_DEPENDENCIES = host-pkgconf libconfuse libnl ncurses
+BMON_LICENSE = BSD-2c
+BMON_LICENSE_FILES = LICENSE
-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
+ifeq ($(BR2_PREFER_STATIC_LIB),)
BMON_CONF_OPT += --disable-static
+else
+# forgets to explicitly link with pthread for libnl
+BMON_CONF_OPT += LIBS=-lpthread
endif
$(eval $(autotools-package))
OpenPOWER on IntegriCloud