2015-07-21 12:11:40 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# openipmi
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-08-16 09:24:30 +02:00
|
|
|
OPENIPMI_VERSION = 2.0.27
|
2015-09-28 18:10:31 +02:00
|
|
|
OPENIPMI_SITE = http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library
|
2016-08-24 18:55:27 +02:00
|
|
|
OPENIPMI_SOURCE = OpenIPMI-$(OPENIPMI_VERSION).tar.gz
|
2017-03-30 15:43:38 +02:00
|
|
|
OPENIPMI_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-3-Clause
|
2015-07-21 12:11:40 +02:00
|
|
|
OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD
|
2019-08-16 09:24:30 +02:00
|
|
|
OPENIPMI_DEPENDENCIES = popt ncurses readline host-pkgconf
|
2019-12-16 10:38:03 +01:00
|
|
|
OPENIPMI_INSTALL_STAGING = YES
|
2015-07-22 06:20:57 +02:00
|
|
|
# Patching Makefile.am
|
|
|
|
OPENIPMI_AUTORECONF = YES
|
2015-07-21 12:11:40 +02:00
|
|
|
OPENIPMI_CONF_ENV = ac_cv_path_pkgprog="$(PKG_CONFIG_HOST_BINARY)"
|
|
|
|
OPENIPMI_CONF_OPTS = \
|
|
|
|
--with-glib=no \
|
|
|
|
--with-tcl=no \
|
|
|
|
--with-perl=no \
|
|
|
|
--with-python=no \
|
|
|
|
--with-swig=no
|
|
|
|
|
2016-02-21 10:50:09 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GDBM),y)
|
|
|
|
OPENIPMI_DEPENDENCIES += gdbm
|
|
|
|
endif
|
|
|
|
|
2015-07-21 12:11:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
OPENIPMI_DEPENDENCIES += openssl
|
|
|
|
OPENIPMI_CONF_OPTS += --with-openssl=yes
|
|
|
|
else
|
|
|
|
OPENIPMI_CONF_OPTS += --with-openssl=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_NETSNMP),y)
|
|
|
|
OPENIPMI_DEPENDENCIES += netsnmp
|
|
|
|
OPENIPMI_CONF_OPTS += --with-ucdsnmp=yes
|
|
|
|
else
|
|
|
|
OPENIPMI_CONF_OPTS += --with-ucdsnmp=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|