1################################################################################ 2# 3# ibrcommon 4# 5################################################################################ 6 7IBRCOMMON_VERSION = 1.0.1 8IBRCOMMON_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases 9IBRCOMMON_INSTALL_STAGING = YES 10IBRCOMMON_LICENSE = Apache-2.0 11IBRCOMMON_LICENSE_FILES = COPYING README 12IBRCOMMON_DEPENDENCIES = host-pkgconf 13IBRCOMMON_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" 14 15ifeq ($(BR2_PACKAGE_OPENSSL),y) 16IBRCOMMON_DEPENDENCIES += openssl 17IBRCOMMON_CONF_OPTS += --with-openssl 18else 19IBRCOMMON_CONF_OPTS += --without-openssl 20endif 21 22ifeq ($(BR2_PACKAGE_LIBNL),y) 23IBRCOMMON_DEPENDENCIES += libnl 24IBRCOMMON_CONF_OPTS += --with-lowpan 25else 26IBRCOMMON_CONF_OPTS += --without-lowpan 27endif 28 29ifeq ($(BR2_PACKAGE_LIBXML2),y) 30IBRCOMMON_DEPENDENCIES += libxml2 31IBRCOMMON_CONF_OPTS += --with-xml 32else 33IBRCOMMON_CONF_OPTS += --without-xml 34endif 35 36$(eval $(autotools-package)) 37