2020-01-25 06:46:17 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gensio
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-09-29 10:30:04 +02:00
|
|
|
GENSIO_VERSION = 2.5.5
|
2020-02-12 19:06:53 +01:00
|
|
|
GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
|
2020-01-25 06:46:17 +01:00
|
|
|
GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
|
|
|
|
GENSIO_LICENSE_FILES = COPYING.LIB COPYING
|
|
|
|
GENSIO_INSTALL_STAGING = YES
|
|
|
|
GENSIO_CONF_OPTS = \
|
|
|
|
--without-swig \
|
|
|
|
--without-python
|
|
|
|
|
2023-03-02 18:53:50 +01:00
|
|
|
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
|
|
|
GENSIO_CONF_OPTS += --with-cplusplus
|
|
|
|
else
|
|
|
|
GENSIO_CONF_OPTS += --without-cplusplus
|
|
|
|
endif
|
|
|
|
|
2023-03-02 18:53:48 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y)
|
|
|
|
GENSIO_DEPENDENCIES += alsa-lib
|
|
|
|
GENSIO_CONF_OPTS += --with-alsa
|
|
|
|
else
|
|
|
|
GENSIO_CONF_OPTS += --without-alsa
|
|
|
|
endif
|
|
|
|
|
2023-03-02 18:53:49 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
|
|
|
|
GENSIO_DEPENDENCIES += avahi
|
|
|
|
GENSIO_CONF_OPTS += --with-mdns
|
|
|
|
else
|
|
|
|
GENSIO_CONF_OPTS += --without-mdns
|
|
|
|
endif
|
|
|
|
|
2023-03-02 18:53:47 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
|
|
GENSIO_DEPENDENCIES += host-pkgconf libglib2
|
|
|
|
GENSIO_CONF_OPTS += --with-glib
|
|
|
|
else
|
|
|
|
GENSIO_CONF_OPTS += --without-glib
|
|
|
|
endif
|
|
|
|
|
2022-07-27 08:46:01 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENIPMI),y)
|
|
|
|
GENSIO_DEPENDENCIES += openipmi
|
|
|
|
GENSIO_CONF_OPTS += --with-openipmi
|
|
|
|
else
|
|
|
|
GENSIO_CONF_OPTS += --without-openipmi
|
|
|
|
endif
|
|
|
|
|
2020-01-25 06:46:17 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2020-01-28 23:20:45 +01:00
|
|
|
GENSIO_DEPENDENCIES += host-pkgconf openssl
|
|
|
|
GENSIO_CONF_OPTS += --with-openssl
|
|
|
|
else
|
|
|
|
GENSIO_CONF_OPTS += --without-openssl
|
2020-01-25 06:46:17 +01:00
|
|
|
endif
|
|
|
|
|
2021-10-23 19:09:39 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
|
|
GENSIO_CONF_ENV += LIBS=-latomic
|
|
|
|
endif
|
|
|
|
|
2020-01-25 06:46:17 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
GENSIO_CONF_OPTS += --with-pthreads
|
|
|
|
else
|
|
|
|
GENSIO_CONF_OPTS += --without-pthreads
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|