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