1 ################################################################################
5 ################################################################################
8 FASTD_SITE
= https
://projects.universe-factory.net
/attachments
/download
/86
9 FASTD_SOURCE
= fastd-
$(FASTD_VERSION
).
tar.xz
10 FASTD_LICENSE
= BSD-2c
11 FASTD_LICENSE_FILES
= COPYRIGHT
12 FASTD_CONF_OPTS
= -DENABLE_LIBSODIUM
=ON
13 FASTD_DEPENDENCIES
= host-bison host-pkgconf libuecc libsodium libcap
15 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
16 FASTD_CONF_OPTS
+= -DENABLE_OPENSSL
=ON
17 FASTD_DEPENDENCIES
+= openssl
19 FASTD_CONF_OPTS
+= -DENABLE_OPENSSL
=OFF
22 ifeq ($(BR2_PACKAGE_FASTD_STATUS_SOCKET
),y
)
23 FASTD_CONF_OPTS
+= -DWITH_STATUS_SOCKET
=ON
24 FASTD_DEPENDENCIES
+= json-c
26 FASTD_CONF_OPTS
+= -DWITH_STATUS_SOCKET
=OFF
29 ifeq ($(BR2_INIT_SYSTEMD
),y
)
30 FASTD_CONF_OPTS
+= -DENABLE_SYSTEMD
=ON
32 FASTD_CONF_OPTS
+= -DENABLE_SYSTEMD
=OFF
35 ifeq ($(BR2_GCC_ENABLE_LTO
),y
)
36 FASTD_CONF_OPTS
+= -DENABLE_LTO
=ON
38 FASTD_CONF_OPTS
+= -DENABLE_LTO
=OFF
41 $(eval
$(cmake-package
))