]>
Commit | Line | Data |
---|---|---|
f3f296a5 AG |
1 | ################################################################################ |
2 | # | |
3 | # bird | |
4 | # | |
5 | ################################################################################ | |
6 | ||
eb940ab4 | 7 | BIRD_VERSION = 2.0.12 |
0e017b4c | 8 | BIRD_SITE = https://bird.network.cz/download |
f3f296a5 AG |
9 | BIRD_LICENSE = GPL-2.0+ |
10 | BIRD_LICENSE_FILES = README | |
b68047e3 | 11 | BIRD_CPE_ID_VENDOR = nic |
459d725d | 12 | BIRD_SELINUX_MODULES = bird |
f3f296a5 | 13 | BIRD_DEPENDENCIES = host-flex host-bison |
1d3d2d27 FF |
14 | |
15 | # 0001-configure.ac-fix-build-with-autoconf-2.70.patch | |
03c148c8 | 16 | BIRD_AUTORECONF = YES |
f3f296a5 AG |
17 | |
18 | ifeq ($(BR2_PACKAGE_BIRD_CLIENT),y) | |
19 | BIRD_CONF_OPTS += --enable-client | |
20 | BIRD_DEPENDENCIES += ncurses readline | |
21 | else | |
22 | BIRD_CONF_OPTS += --disable-client | |
23 | endif | |
24 | ||
9070a735 FF |
25 | ifeq ($(BR2_PACKAGE_LIBSSH),y) |
26 | BIRD_CONF_OPTS += --enable-libssh | |
27 | BIRD_DEPENDENCIES += libssh | |
28 | else | |
29 | BIRD_CONF_OPTS += --disable-libssh | |
30 | endif | |
31 | ||
529fef57 | 32 | BIRD_PROTOCOLS = \ |
529fef57 AG |
33 | $(if $(BR2_PACKAGE_BIRD_BFD),bfd) \ |
34 | $(if $(BR2_PACKAGE_BIRD_BABEL),babel) \ | |
35 | $(if $(BR2_PACKAGE_BIRD_BGP),bgp) \ | |
36 | $(if $(BR2_PACKAGE_BIRD_MRT),mrt) \ | |
37 | $(if $(BR2_PACKAGE_BIRD_OSPF),ospf) \ | |
38 | $(if $(BR2_PACKAGE_BIRD_PERF),perf) \ | |
39 | $(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \ | |
40 | $(if $(BR2_PACKAGE_BIRD_RADV),radv) \ | |
41 | $(if $(BR2_PACKAGE_BIRD_RIP),rip) \ | |
9070a735 | 42 | $(if $(BR2_PACKAGE_BIRD_RPKI),rpki) \ |
529fef57 AG |
43 | $(if $(BR2_PACKAGE_BIRD_STATIC),static) |
44 | ||
45 | BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS))) | |
46 | ||
f3f296a5 | 47 | $(eval $(autotools-package)) |