mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
41
package/openipmi/openipmi.mk
Normal file
41
package/openipmi/openipmi.mk
Normal file
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# openipmi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENIPMI_VERSION = 2.0.24
|
||||
OPENIPMI_SITE = http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library
|
||||
OPENIPMI_SOURCE = OpenIPMI-$(OPENIPMI_VERSION).tar.gz
|
||||
OPENIPMI_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-3-Clause
|
||||
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-tcl=no \
|
||||
--with-perl=no \
|
||||
--with-python=no \
|
||||
--with-swig=no
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GDBM),y)
|
||||
OPENIPMI_DEPENDENCIES += gdbm
|
||||
endif
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user