source "package/geoip/Config.in"
source "package/glib-networking/Config.in"
source "package/ibrcommon/Config.in"
+ source "package/ibrdtn/Config.in"
source "package/libcgi/Config.in"
source "package/libcgicc/Config.in"
source "package/libcurl/Config.in"
--- /dev/null
+config BR2_PACKAGE_IBRDTN
+ bool "ibrdtn"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_IBRCOMMON
+ help
+ IBR-DTN is a small dtn application that supports:
+ Bundle Protocol RFC 5050
+ Bundle Security Protocol RFC 6257
+
+ This package contains the ibrdtn library.
+
+ http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn
+
+comment "ibrdtn needs a toolchain w/ C++, threads"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+################################################################################
+#
+# ibrdtn
+#
+################################################################################
+
+IBRDTN_VERSION = 1.0.1
+IBRDTN_SOURCE = ibrdtn-$(IBRDTN_VERSION).tar.gz
+IBRDTN_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/
+IBRDTN_INSTALL_STAGING = YES
+IBRDTN_LICENSE = Apache-2.0
+IBRDTN_LICENSE_FILES = COPYING
+IBRDTN_DEPENDENCIES = ibrcommon host-pkgconf
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+IBRDTN_CONF_OPTS += --with-compression
+IBRDTN_DEPENDENCIES += zlib
+else
+IBRDTN_CONF_OPTS += --without-compression
+IBRDTN_DEPENDENCIES += zlib
+endif
+
+ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
+IBRDTN_CONF_OPTS += --with-glib
+IBRDTN_DEPENDENCIES += libglib2
+else
+IBRDTN_CONF_OPTS += --without-glib
+endif
+
+$(eval $(autotools-package))