2015-08-09 02:00:19 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ibrdtn-tools
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
IBRDTN_TOOLS_VERSION = 1.0.1
|
2015-09-28 18:10:31 +02:00
|
|
|
IBRDTN_TOOLS_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
|
2015-08-09 02:00:19 +02:00
|
|
|
IBRDTN_TOOLS_LICENSE = Apache-2.0
|
|
|
|
IBRDTN_TOOLS_LICENSE_FILES = COPYING
|
|
|
|
IBRDTN_TOOLS_DEPENDENCIES = ibrcommon ibrdtn host-pkgconf
|
2021-08-01 10:13:44 +02:00
|
|
|
IBRDTN_TOOLS_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
2015-08-09 02:00:19 +02:00
|
|
|
|
2015-09-10 12:03:00 +02:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
IBRDTN_TOOLS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
|
|
|
|
endif
|
|
|
|
|
2015-08-09 02:00:19 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBDAEMON),y)
|
|
|
|
IBRDTN_TOOLS_CONF_OPTS += --with-libdaemon
|
|
|
|
IBRDTN_TOOLS_DEPENDENCIES += libdaemon
|
|
|
|
else
|
|
|
|
IBRDTN_TOOLS_CONF_OPTS += --without-libdaemon
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
|
|
|
|
IBRDTN_TOOLS_CONF_OPTS += --with-libarchive
|
|
|
|
IBRDTN_TOOLS_DEPENDENCIES += libarchive
|
|
|
|
else
|
|
|
|
IBRDTN_TOOLS_CONF_OPTS += --without-libarchive
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|