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:=http://www.pps.jussieu.fr/~jch/software/files/
16 PKG_MD5SUM:=fdb1949237ec99cd978222fe872c4f0b
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)/babeld $(1)/usr/sbin/
49 $(INSTALL_DIR) $(1)/etc
50 $(INSTALL_CONF) ./files/babel.conf $(1)/etc/
51 $(INSTALL_DIR) $(1)/etc/init.d
52 $(INSTALL_BIN) ./files/babel.init $(1)/etc/init.d/babel
55 $(eval $(call BuildPackage,babel))