137987fd71021300af308ca9ee45b17320a15dc9
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ipmitool / ipmitool.mk
1 ################################################################################
2 #
3 # ipmitool
4 #
5 ################################################################################
6
7 IPMITOOL_VERSION = 1.8.14
8 IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2
9 IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION)
10 IPMITOOL_LICENSE = BSD-3c
11 IPMITOOL_LICENSE_FILES = COPYING
12
13 ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y)
14 IPMITOOL_DEPENDENCIES += openssl
15 else
16 IPMITOOL_CONF_OPTS += --disable-intf-lanplus
17 endif
18
19 ifeq ($(BR2_PACKAGE_READLINE),y)
20 IPMITOOL_DEPENDENCIES += readline
21 endif
22
23 ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),)
24 define IPMITOOL_REMOVE_IPMIEVD
25         $(RM) -f $(TARGET_DIR)/usr/sbin/ipmievd
26 endef
27 IPMITOOL_POST_INSTALL_TARGET_HOOKS += IPMITOOL_REMOVE_IPMIEVD
28 endif
29
30 $(eval $(autotools-package))