1################################################################################ 2# 3# ibrdtnd 4# 5################################################################################ 6 7IBRDTND_VERSION = 1.0.1 8IBRDTND_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases 9IBRDTND_LICENSE = Apache-2.0 10IBRDTND_LICENSE_FILES = COPYING 11IBRDTND_DEPENDENCIES = ibrdtn ibrcommon host-pkgconf 12 13# Disable features that don't have the necessary dependencies in 14# Buildroot 15IBRDTND_CONF_OPTS = \ 16 --disable-dtndht \ 17 --without-wifip2p \ 18 --without-vmime 19 20# don't build documentation 21IBRDTND_CONF_ENV = \ 22 PDFLATEX='no' \ 23 CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" 24 25ifeq ($(BR2_PACKAGE_LIBDAEMON),y) 26IBRDTND_CONF_OPTS += --enable-libdaemon 27IBRDTND_DEPENDENCIES += libdaemon 28else 29IBRDTND_CONF_OPTS += --disable-libdaemon 30endif 31 32ifeq ($(BR2_PACKAGE_LIBCURL),y) 33IBRDTND_CONF_OPTS += --with-curl 34IBRDTND_DEPENDENCIES += libcurl 35else 36IBRDTND_CONF_OPTS += --without-curl 37endif 38 39ifeq ($(BR2_PACKAGE_SQLITE),y) 40IBRDTND_CONF_OPTS += --with-sqlite 41IBRDTND_DEPENDENCIES += sqlite 42else 43IBRDTND_CONF_OPTS += --without-sqlite 44endif 45 46ifeq ($(BR2_PACKAGE_OPENSSL),y) 47IBRDTND_CONF_OPTS += --with-tls 48IBRDTND_DEPENDENCIES += openssl 49else 50IBRDTND_CONF_OPTS += --without-tls 51endif 52 53$(eval $(autotools-package)) 54