2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-06-28 17:55:00 +02:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# quagga
|
2007-06-28 17:55:00 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-04-01 20:51:29 +02:00
|
|
|
|
2015-03-09 14:28:20 +01:00
|
|
|
QUAGGA_VERSION = 0.99.24.1
|
2013-09-06 08:14:15 +02:00
|
|
|
QUAGGA_SOURCE = quagga-$(QUAGGA_VERSION).tar.xz
|
2012-05-20 05:35:48 +02:00
|
|
|
QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga
|
2010-06-16 13:47:14 +02:00
|
|
|
QUAGGA_DEPENDENCIES = host-gawk
|
2013-01-22 04:35:52 +01:00
|
|
|
QUAGGA_LICENSE = GPLv2+
|
|
|
|
QUAGGA_LICENSE_FILES = COPYING
|
2015-03-04 14:11:15 +01:00
|
|
|
QUAGGA_CONF_OPTS = --program-transform-name=''
|
2009-10-03 21:47:18 +02:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_ZEBRA),--enable-zebra,--disable-zebra)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BABELD),--enable-babeld,--disable-babeld)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BGPD),--enable-bgpd,--disable-bgpd)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_RIPD),--enable-ripd,--disable-ripd)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_RIPNGD),--enable-ripngd,--disable-ripngd)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_OSPFD),--enable-ospfd,--disable-ospfd)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_OSPF6D),--enable-ospf6d,--disable-ospf6d)
|
2015-03-04 14:11:15 +01:00
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_PIMD),--enable-pimd,--disable-pimd)
|
2014-09-27 21:32:44 +02:00
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_WATCHQUAGGA),--enable-watchquagga,--disable-watchquagga)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_ISISD),--enable-isisd,--disable-isisd)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE),--enable-bgp-announce,--disable-bgp-announce)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_TCP_ZERBRA),--enable-tcp-zebra,--disable-tcp-zebra)
|
|
|
|
QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_OPAQUE_LSA),--enable-opaque-lsa,--disable-opaque-lsa)
|
2010-06-16 13:47:14 +02:00
|
|
|
|
2007-06-28 17:55:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
|
2013-04-15 16:39:43 +02:00
|
|
|
QUAGGA_CONF_ENV += ac_cv_path_NETSNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config
|
2014-09-27 21:32:44 +02:00
|
|
|
QUAGGA_CONF_OPTS += --enable-snmp=agentx
|
2012-05-20 05:35:48 +02:00
|
|
|
QUAGGA_DEPENDENCIES += netsnmp
|
2007-06-28 17:55:00 +02:00
|
|
|
endif
|
|
|
|
|
2015-03-18 00:15:43 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_QUAGGA_VTYSH),y)
|
|
|
|
QUAGGA_CONF_OPTS += --enable-vtysh
|
|
|
|
QUAGGA_DEPENDENCIES += readline
|
|
|
|
else
|
|
|
|
QUAGGA_CONF_OPTS += --disable-vtysh
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|