ibrdtnd: new package
[Thomas:
- add package to package/Config.in
- remove "select" on libdaemon, libcurl, sqlite and openssl from
Config.in, since those are optional dependency.
- add "select" on ibrcommon, since it is a mandatory dependency.
- remove bogus includes of package/ibrcommon/Config.in and
package/ibrdtn/Config.in, those are directly from
package/Config.in.
- fix Config.in comment dependency and indentation.
- remove INSTALL_STAGING = YES, since ibrdtnd does not install a
library.
- remove libdaemon, libcurl, sqlite and openssl as mandatory
dependencies, and handle them as optional dependencies.
- add ibrcommon in the dependencies (even if ibrdtn already depends
on it)
- remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS, they
are not needed, since the Makefiles are properly generated by
automake.
- explicitly disable features for which Buildroot doesn't have the
necessary dependencies (dtndht, wifip2p, vmime)
- add hash file.]
Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-08 15:07:41 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ibrdtnd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
IBRDTND_VERSION = 1.0.1
|
|
|
|
IBRDTND_SOURCE = ibrdtnd-$(IBRDTND_VERSION).tar.gz
|
2015-09-28 18:10:31 +02:00
|
|
|
IBRDTND_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
|
ibrdtnd: new package
[Thomas:
- add package to package/Config.in
- remove "select" on libdaemon, libcurl, sqlite and openssl from
Config.in, since those are optional dependency.
- add "select" on ibrcommon, since it is a mandatory dependency.
- remove bogus includes of package/ibrcommon/Config.in and
package/ibrdtn/Config.in, those are directly from
package/Config.in.
- fix Config.in comment dependency and indentation.
- remove INSTALL_STAGING = YES, since ibrdtnd does not install a
library.
- remove libdaemon, libcurl, sqlite and openssl as mandatory
dependencies, and handle them as optional dependencies.
- add ibrcommon in the dependencies (even if ibrdtn already depends
on it)
- remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS, they
are not needed, since the Makefiles are properly generated by
automake.
- explicitly disable features for which Buildroot doesn't have the
necessary dependencies (dtndht, wifip2p, vmime)
- add hash file.]
Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-08 15:07:41 +02:00
|
|
|
IBRDTND_LICENSE = Apache-2.0
|
|
|
|
IBRDTND_LICENSE_FILES = COPYING
|
|
|
|
IBRDTND_DEPENDENCIES = ibrdtn ibrcommon
|
|
|
|
|
|
|
|
# Disable features that don't have the necessary dependencies in
|
|
|
|
# Buildroot
|
|
|
|
IBRDTND_CONF_OPTS = \
|
|
|
|
--disable-dtndht \
|
|
|
|
--without-wifip2p \
|
|
|
|
--without-vmime
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBDAEMON),y)
|
|
|
|
IBRDTND_CONF_OPTS += --enable-libdaemon
|
|
|
|
IBRDTND_DEPENDENCIES += libdaemon
|
|
|
|
else
|
|
|
|
IBRDTND_CONF_OPTS += --disable-libdaemon
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
|
|
IBRDTND_CONF_OPTS += --with-curl
|
|
|
|
IBRDTND_DEPENDENCIES += libcurl
|
|
|
|
else
|
|
|
|
IBRDTND_CONF_OPTS += --without-curl
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
|
|
|
IBRDTND_CONF_OPTS += --with-sqlite
|
|
|
|
IBRDTND_DEPENDENCIES += sqlite
|
|
|
|
else
|
|
|
|
IBRDTND_CONF_OPTS += --without-sqlite
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
IBRDTND_CONF_OPTS += --with-tls
|
|
|
|
IBRDTND_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
IBRDTND_CONF_OPTS += --without-tls
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|