package/upmpcli: bump to version 0.13.1
[buildroot-gz.git] / package / openipmi / openipmi.mk
blob85bd6b406c2fe25a8366c884f938dd9d39c9f40a
1 ################################################################################
3 # openipmi
5 ################################################################################
7 OPENIPMI_VERSION = 2.0.21
8 OPENIPMI_SITE = http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library
9 OPENIPMI_SOURCE = OpenIPMI-2.0.21.tar.gz
10 OPENIPMI_LICENSE = LGPLv2+, GPLv2+, BSD-3c
11 OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD
12 OPENIPMI_DEPENDENCIES = popt ncurses host-pkgconf
13 # Patching Makefile.am
14 OPENIPMI_AUTORECONF = YES
15 OPENIPMI_CONF_ENV = ac_cv_path_pkgprog="$(PKG_CONFIG_HOST_BINARY)"
16 OPENIPMI_CONF_OPTS = \
17 --with-glib=no \
18 --with-glib12=no \
19 --with-tcl=no \
20 --with-perl=no \
21 --with-python=no \
22 --with-swig=no
24 ifeq ($(BR2_PACKAGE_OPENSSL),y)
25 OPENIPMI_DEPENDENCIES += openssl
26 OPENIPMI_CONF_OPTS += --with-openssl=yes
27 else
28 OPENIPMI_CONF_OPTS += --with-openssl=no
29 endif
31 ifeq ($(BR2_PACKAGE_NETSNMP),y)
32 OPENIPMI_DEPENDENCIES += netsnmp
33 OPENIPMI_CONF_OPTS += --with-ucdsnmp=yes
34 else
35 OPENIPMI_CONF_OPTS += --with-ucdsnmp=no
36 endif
38 $(eval $(autotools-package))