2 # Copyright (C) 2007-2008 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:=http://www.pps.jussieu.fr/~jch/software/files/
16 PKG_MD5SUM:=881dfb9a36b60ae565fd3731d637beb9
18 include $(INCLUDE_DIR)/package.mk
23 TITLE:=A loop-free distance-vector routing protocol
24 URL:=http://www.pps.jussieu.fr/~jch/software/babel/
28 define Package/babel/description
29 Babel is a loop-avoiding distance-vector routing protocol roughly based
30 on DSDV and AODV, but with provisions for link cost estimation and
31 redistribution of routes from other routing protocols.
32 While it is optimised for wireless mesh networks, Babel will also work
33 efficiently on wired networks. It will generate between 1.2 and 2.4 times
34 the amount of routing traffic that RIPng would generate, while
35 never counting to infinity.
38 define Package/babel/conffiles
44 CFLAGS="$(TARGET_CFLAGS)" \
46 define Package/babel/install
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/babel $(1)/usr/sbin/
49 $(INSTALL_DIR) $(1)/etc
50 $(INSTALL_CONF) ./files/babel.conf $(1)/etc/
53 $(eval $(call BuildPackage,babel))