1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# bird 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunBIRD_VERSION = 2.0.8 8*4882a593SmuzhiyunBIRD_SITE = ftp://bird.network.cz/pub/bird 9*4882a593SmuzhiyunBIRD_LICENSE = GPL-2.0+ 10*4882a593SmuzhiyunBIRD_LICENSE_FILES = README 11*4882a593SmuzhiyunBIRD_CPE_ID_VENDOR = nic 12*4882a593SmuzhiyunBIRD_SELINUX_MODULES = bird 13*4882a593SmuzhiyunBIRD_DEPENDENCIES = host-flex host-bison 14*4882a593SmuzhiyunBIRD_AUTORECONF = YES 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_BIRD_CLIENT),y) 17*4882a593SmuzhiyunBIRD_CONF_OPTS += --enable-client 18*4882a593SmuzhiyunBIRD_DEPENDENCIES += ncurses readline 19*4882a593Smuzhiyunelse 20*4882a593SmuzhiyunBIRD_CONF_OPTS += --disable-client 21*4882a593Smuzhiyunendif 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBSSH),y) 24*4882a593SmuzhiyunBIRD_CONF_OPTS += --enable-libssh 25*4882a593SmuzhiyunBIRD_DEPENDENCIES += libssh 26*4882a593Smuzhiyunelse 27*4882a593SmuzhiyunBIRD_CONF_OPTS += --disable-libssh 28*4882a593Smuzhiyunendif 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunBIRD_PROTOCOLS = \ 31*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_BFD),bfd) \ 32*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_BABEL),babel) \ 33*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_BGP),bgp) \ 34*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_MRT),mrt) \ 35*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_OSPF),ospf) \ 36*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_PERF),perf) \ 37*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \ 38*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_RADV),radv) \ 39*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_RIP),rip) \ 40*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_RPKI),rpki) \ 41*4882a593Smuzhiyun $(if $(BR2_PACKAGE_BIRD_STATIC),static) 42*4882a593Smuzhiyun 43*4882a593SmuzhiyunBIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS))) 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun$(eval $(autotools-package)) 46