e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
703 B
Makefile
33 lines
703 B
Makefile
#############################################################
|
|
#
|
|
# bmon
|
|
#
|
|
#############################################################
|
|
|
|
BMON_VERSION = 2.1.0
|
|
BMON_SOURCE = bmon-$(BMON_VERSION).tar.gz
|
|
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
|
|
|
|
define BMON_UNINSTALL_TARGET_CMDS
|
|
rm -f $(TARGET_DIR)/usr/bin/bmon
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|