0b22622fec
[Thomas: - include package/ibrdtn-tools/Config.in from package/Config.in - fix the Config.in option name: we don't use - in option names, it should be replaced by _. Also do the same change in the .mk file. - from Config.in, don't select BR2_PACKAGE_IBRDTND (it's not a dependency of ibrdtn-tools), but instead select BR2_PACKAGE_IBRCOMMON and BR2_PACKAGE_IBRDTN. - in the Config.in file, fix the comment dependency logic (we want the comment to be shown when either thread support *or* C++ support is missing) - add hash file. - do not install to staging, since the package does not install any library - remove IBRDTN_TOOLS_SOURCE variable, since it's equal to the default value - add ibrcommon, ibrdtn and host-pkgconf as mandatory dependencies, and handle libdaemon and libarchive as optional dependencies. - remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS: automake is used, so there's no need for any hack.] Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
797 B
Makefile
28 lines
797 B
Makefile
################################################################################
|
|
#
|
|
# ibrdtn-tools
|
|
#
|
|
################################################################################
|
|
|
|
IBRDTN_TOOLS_VERSION = 1.0.1
|
|
IBRDTN_TOOLS_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/
|
|
IBRDTN_TOOLS_LICENSE = Apache-2.0
|
|
IBRDTN_TOOLS_LICENSE_FILES = COPYING
|
|
IBRDTN_TOOLS_DEPENDENCIES = ibrcommon ibrdtn host-pkgconf
|
|
|
|
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))
|