2009-07-26 22:03:15 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# bmon
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
BMON_VERSION = 2.1.0
|
|
|
|
BMON_SOURCE = bmon-$(BMON_VERSION).tar.gz
|
|
|
|
BMON_SITE = http://distfiles.gentoo.org/distfiles
|
2011-06-17 09:15:42 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
|
|
|
BMON_DEPENDENCIES += ncurses
|
|
|
|
else
|
|
|
|
BMON_CONF_OPT += --disable-curses
|
|
|
|
endif
|
2009-07-26 22:03:15 +02:00
|
|
|
|
2011-06-17 09:17:16 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
|
|
|
BMON_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
|
|
|
BMON_CONF_OPT += --disable-asound
|
|
|
|
endif
|
|
|
|
|
2011-06-17 09:10:29 +02:00
|
|
|
ifneq ($(BR2_PREFER_STATIC_LIB),y)
|
|
|
|
# link dynamically unless explicitly requested otherwise
|
|
|
|
BMON_CONF_OPT += --disable-static
|
|
|
|
endif
|
|
|
|
|
2010-09-01 23:16:30 +02:00
|
|
|
define BMON_UNINSTALL_TARGET_CMDS
|
2009-07-26 22:03:15 +02:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/bmon
|
2010-09-01 23:16:30 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,bmon))
|