2015-10-29 08:13:02 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# fastd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-04-02 12:38:28 +02:00
|
|
|
FASTD_VERSION = 18
|
|
|
|
FASTD_SITE = https://projects.universe-factory.net/attachments/download/86
|
|
|
|
FASTD_SOURCE = fastd-$(FASTD_VERSION).tar.xz
|
2015-10-29 08:13:02 +01:00
|
|
|
FASTD_LICENSE = BSD-2c
|
|
|
|
FASTD_LICENSE_FILES = COPYRIGHT
|
|
|
|
FASTD_CONF_OPTS = -DENABLE_LIBSODIUM=ON
|
2015-11-05 17:28:58 +01:00
|
|
|
FASTD_DEPENDENCIES = host-bison host-pkgconf libuecc libsodium libcap
|
2015-10-29 08:13:02 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
FASTD_CONF_OPTS += -DENABLE_OPENSSL=ON
|
|
|
|
FASTD_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
FASTD_CONF_OPTS += -DENABLE_OPENSSL=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FASTD_STATUS_SOCKET),y)
|
|
|
|
FASTD_CONF_OPTS += -DWITH_STATUS_SOCKET=ON
|
|
|
|
FASTD_DEPENDENCIES += json-c
|
|
|
|
else
|
|
|
|
FASTD_CONF_OPTS += -DWITH_STATUS_SOCKET=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
|
|
FASTD_CONF_OPTS += -DENABLE_SYSTEMD=ON
|
|
|
|
else
|
|
|
|
FASTD_CONF_OPTS += -DENABLE_SYSTEMD=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_GCC_ENABLE_LTO),y)
|
|
|
|
FASTD_CONF_OPTS += -DENABLE_LTO=ON
|
|
|
|
else
|
|
|
|
FASTD_CONF_OPTS += -DENABLE_LTO=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|