2 # Copyright (C) 2007-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://www.irif.univ-paris-diderot.fr
/~jch
/software
/files
/
16 PKG_MD5SUM
:=2f71794d4e67f8a5352164ce33611549
19 include $(INCLUDE_DIR
)/package.mk
24 SUBMENU
:=Routing and Redirection
25 TITLE
:=A loop-free distance-vector routing protocol
26 URL
:=http
://www.pps.univ-paris-diderot.fr
/~jch
/software
/babel
/
27 MAINTAINER
:=Gabriel Kerneis
<gabriel@kerneis.
info>
31 define Package
/babeld
/description
32 Babel is a loop-avoiding distance-vector routing protocol roughly based
33 on DSDV and AODV
, but with provisions for link cost estimation and
34 redistribution of routes from other routing protocols.
35 While it is optimised for wireless mesh networks
, Babel will also work
36 efficiently on wired networks. It will generate between
1.2 and
2.4 times
37 the amount of routing traffic that RIPng would generate
, while
38 never counting to infinity.
41 define Package
/babeld
/conffiles
47 CFLAGS
="$(TARGET_CFLAGS)" \
50 define Package
/babeld
/install
51 $(INSTALL_DIR
) $(1)/usr
/sbin
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/babeld
$(1)/usr
/sbin
/
53 $(INSTALL_DIR
) $(1)/etc
54 $(INSTALL_CONF
) .
/files
/babeld.conf
$(1)/etc
/
55 $(INSTALL_DIR
) $(1)/etc
/config
56 $(INSTALL_CONF
) .
/files
/babeld.config
$(1)/etc
/config
/babeld
57 $(INSTALL_DIR
) $(1)/etc
/init.d
58 $(INSTALL_BIN
) .
/files
/babeld.init
$(1)/etc
/init.d
/babeld
61 $(eval
$(call BuildPackage
,babeld
))