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
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
IPMITOOL_CONF_OPTS += --disable-intf-lanplus
|
2014-09-12 01:12:48 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += readline
|
|
|
|
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))
|