1################################################################################ 2# 3# gensio 4# 5################################################################################ 6 7GENSIO_VERSION = 2.2.9 8GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net 9GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) 10GENSIO_LICENSE_FILES = COPYING.LIB COPYING 11GENSIO_INSTALL_STAGING = YES 12GENSIO_CONF_OPTS = \ 13 --without-openipmi \ 14 --without-swig \ 15 --without-python 16 17ifeq ($(BR2_PACKAGE_OPENSSL),y) 18GENSIO_DEPENDENCIES += host-pkgconf openssl 19GENSIO_CONF_OPTS += --with-openssl 20else 21GENSIO_CONF_OPTS += --without-openssl 22endif 23 24ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) 25GENSIO_CONF_ENV += LIBS=-latomic 26endif 27 28ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) 29GENSIO_CONF_OPTS += --with-pthreads 30else 31GENSIO_CONF_OPTS += --without-pthreads 32endif 33 34$(eval $(autotools-package)) 35