2014-09-12 01:12:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ipmitool
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-03-29 14:11:17 +02:00
|
|
|
IPMITOOL_VERSION = 1.8.16
|
2014-09-12 01:12:48 +02:00
|
|
|
IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2
|
|
|
|
IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION)
|
|
|
|
IPMITOOL_LICENSE = BSD-3c
|
|
|
|
IPMITOOL_LICENSE_FILES = COPYING
|
|
|
|
|
2016-04-11 21:33:51 +02:00
|
|
|
# Patching configure.ac
|
|
|
|
IPMITOOL_AUTORECONF = YES
|
|
|
|
|
2014-09-12 01:12:48 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += openssl
|
2016-04-26 14:02:39 +02:00
|
|
|
IPMITOOL_CONF_OPTS += --enable-intf-lanplus
|
2014-09-12 01:12:48 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
IPMITOOL_CONF_OPTS += --disable-intf-lanplus
|
2014-09-12 01:12:48 +02:00
|
|
|
endif
|
|
|
|
|
2016-04-26 14:02:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += ncurses readline
|
|
|
|
IPMITOOL_CONF_OPTS += --enable-ipmishell
|
|
|
|
else
|
|
|
|
IPMITOOL_CONF_OPTS += --disable-ipmishell
|
2014-09-12 01:12:48 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),)
|
|
|
|
define IPMITOOL_REMOVE_IPMIEVD
|
|
|
|
$(RM) -f $(TARGET_DIR)/usr/sbin/ipmievd
|
|
|
|
endef
|
|
|
|
IPMITOOL_POST_INSTALL_TARGET_HOOKS += IPMITOOL_REMOVE_IPMIEVD
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|