ed7a55c4ef
Add a patch removing search of host library path. Fixes: http://autobuild.buildroot.net/results/bb9/bb9a5d4f2058765a3630170a11ee087c9c289c3d/ http://autobuild.buildroot.net/results/0b3/0b37f7648bed99bcb1b5bf727171ccc83283d01e/ http://autobuild.buildroot.net/results/5f7/5f7e6b3279d0e78e3298cdfe7db595e5043ff685/ and many more. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# openipmi
|
|
#
|
|
################################################################################
|
|
|
|
OPENIPMI_VERSION = 2.0.21
|
|
OPENIPMI_SITE = http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/
|
|
OPENIPMI_SOURCE = OpenIPMI-2.0.21.tar.gz
|
|
OPENIPMI_LICENSE = LGPLv2+, GPLv2+, BSD-3c
|
|
OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD
|
|
OPENIPMI_DEPENDENCIES = popt ncurses host-pkgconf
|
|
# Patching Makefile.am
|
|
OPENIPMI_AUTORECONF = YES
|
|
OPENIPMI_CONF_ENV = ac_cv_path_pkgprog="$(PKG_CONFIG_HOST_BINARY)"
|
|
OPENIPMI_CONF_OPTS = \
|
|
--with-glib=no \
|
|
--with-glib12=no \
|
|
--with-tcl=no \
|
|
--with-perl=no \
|
|
--with-python=no \
|
|
--with-swig=no
|
|
|
|
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))
|