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.fr
/~jch
/software
/files
/
16 PKG_HASH
:=1e1b3c01dd929177bc8d027aff1494da75e1e567e1f60df3bb45a78d5f1ca0b4
18 PKG_MAINTAINER
:=Gabriel Kerneis
<gabriel@kerneis.
info>, \
19 Baptiste Jonglez
<openwrt-pkg@bitsofnetworks.org
>
21 PKG_LICENSE_FILES
:=LICENSE
23 include $(INCLUDE_DIR
)/package.mk
28 SUBMENU
:=Routing and Redirection
29 TITLE
:=A loop-free distance-vector routing protocol
30 URL
:=https
://www.irif.fr
/~jch
/software
/babel
/
34 define Package
/babeld
/description
35 Babel is a loop-avoiding distance-vector routing protocol roughly based
36 on DSDV and AODV
, but with provisions for link cost estimation and
37 redistribution of routes from other routing protocols.
38 While it is optimised for wireless mesh networks
, Babel will also work
39 efficiently on wired networks. It will generate between
1.2 and
2.4 times
40 the amount of routing traffic that RIPng would generate
, while
41 never counting to infinity.
44 define Package
/babeld
/conffiles
50 CFLAGS
="$(TARGET_CFLAGS)" \
53 define Package
/babeld
/install
54 $(INSTALL_DIR
) $(1)/usr
/sbin
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/babeld
$(1)/usr
/sbin
/
56 $(INSTALL_DIR
) $(1)/etc
57 $(INSTALL_CONF
) .
/files
/babeld.conf
$(1)/etc
/
58 $(INSTALL_DIR
) $(1)/etc
/config
59 $(INSTALL_CONF
) .
/files
/babeld.config
$(1)/etc
/config
/babeld
60 $(INSTALL_DIR
) $(1)/etc
/init.d
61 $(INSTALL_BIN
) .
/files
/babeld.init
$(1)/etc
/init.d
/babeld
64 $(eval
$(call BuildPackage
,babeld
))