python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / fastd / fastd.mk
blob0e510db87912b102a97726722a579a2c4c952a24
1 ################################################################################
3 # fastd
5 ################################################################################
7 FASTD_VERSION = 18
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
18 else
19 FASTD_CONF_OPTS += -DENABLE_OPENSSL=OFF
20 endif
22 ifeq ($(BR2_PACKAGE_FASTD_STATUS_SOCKET),y)
23 FASTD_CONF_OPTS += -DWITH_STATUS_SOCKET=ON
24 FASTD_DEPENDENCIES += json-c
25 else
26 FASTD_CONF_OPTS += -DWITH_STATUS_SOCKET=OFF
27 endif
29 ifeq ($(BR2_INIT_SYSTEMD),y)
30 FASTD_CONF_OPTS += -DENABLE_SYSTEMD=ON
31 else
32 FASTD_CONF_OPTS += -DENABLE_SYSTEMD=OFF
33 endif
35 ifeq ($(BR2_GCC_ENABLE_LTO),y)
36 FASTD_CONF_OPTS += -DENABLE_LTO=ON
37 else
38 FASTD_CONF_OPTS += -DENABLE_LTO=OFF
39 endif
41 $(eval $(cmake-package))