1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# openipmi 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunOPENIPMI_VERSION = 2.0.28 8*4882a593SmuzhiyunOPENIPMI_SITE = https://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library 9*4882a593SmuzhiyunOPENIPMI_SOURCE = OpenIPMI-$(OPENIPMI_VERSION).tar.gz 10*4882a593SmuzhiyunOPENIPMI_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-3-Clause 11*4882a593SmuzhiyunOPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD 12*4882a593SmuzhiyunOPENIPMI_DEPENDENCIES = popt ncurses readline host-pkgconf 13*4882a593SmuzhiyunOPENIPMI_INSTALL_STAGING = YES 14*4882a593Smuzhiyun# Patching Makefile.am 15*4882a593SmuzhiyunOPENIPMI_AUTORECONF = YES 16*4882a593SmuzhiyunOPENIPMI_CONF_ENV = ac_cv_path_pkgprog="$(PKG_CONFIG_HOST_BINARY)" 17*4882a593SmuzhiyunOPENIPMI_CONF_OPTS = \ 18*4882a593Smuzhiyun --with-glib=no \ 19*4882a593Smuzhiyun --with-tcl=no \ 20*4882a593Smuzhiyun --with-perl=no \ 21*4882a593Smuzhiyun --with-python=no \ 22*4882a593Smuzhiyun --with-swig=no 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GDBM),y) 25*4882a593SmuzhiyunOPENIPMI_DEPENDENCIES += gdbm 26*4882a593Smuzhiyunendif 27*4882a593Smuzhiyun 28*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPENSSL),y) 29*4882a593SmuzhiyunOPENIPMI_DEPENDENCIES += openssl 30*4882a593SmuzhiyunOPENIPMI_CONF_OPTS += --with-openssl=yes 31*4882a593Smuzhiyunelse 32*4882a593SmuzhiyunOPENIPMI_CONF_OPTS += --with-openssl=no 33*4882a593Smuzhiyunendif 34*4882a593Smuzhiyun 35*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_NETSNMP),y) 36*4882a593SmuzhiyunOPENIPMI_DEPENDENCIES += netsnmp 37*4882a593SmuzhiyunOPENIPMI_CONF_OPTS += --with-ucdsnmp=yes 38*4882a593Smuzhiyunelse 39*4882a593SmuzhiyunOPENIPMI_CONF_OPTS += --with-ucdsnmp=no 40*4882a593Smuzhiyunendif 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun$(eval $(autotools-package)) 43