1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# ipmiutil 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunIPMIUTIL_VERSION = 3.1.7 8*4882a593SmuzhiyunIPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files 9*4882a593SmuzhiyunIPMIUTIL_LICENSE = BSD-3-Clause 10*4882a593SmuzhiyunIPMIUTIL_LICENSE_FILES = COPYING 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunIPMIUTIL_MAKE = $(MAKE1) 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf 15*4882a593Smuzhiyundefine IPMIUTIL_TOUCH_CONFIG_H_IN 16*4882a593Smuzhiyun touch $(@D)/config.h.in 17*4882a593Smuzhiyunendef 18*4882a593SmuzhiyunIPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun# forgets to link against libcrypto dependencies breaking static link 21*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) 22*4882a593Smuzhiyun# tests against distro libcrypto so it might get a false positive when 23*4882a593Smuzhiyun# the openssl version is old, so force it off 24*4882a593Smuzhiyun# SKIP_MD2 can be used only if ALLOW_GNU is defined. 25*4882a593SmuzhiyunIPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2 -DSSL11" 26*4882a593SmuzhiyunIPMIUTIL_DEPENDENCIES += openssl 27*4882a593Smuzhiyunelse 28*4882a593SmuzhiyunIPMIUTIL_CONF_OPTS += --disable-lanplus 29*4882a593Smuzhiyunendif 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun$(eval $(autotools-package)) 32