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
12 PKG_RELEASE
:=$(AUTORELEASE
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://www.irif.fr
/~jch
/software
/files
/
16 PKG_HASH
:=a5f54a08322640e97399bf4d1411a34319e6e277fbb6fc4966f38a17d72a8dea
18 PKG_MAINTAINER
:=Gabriel Kerneis
<gabriel@kerneis.
info>, \
19 Baptiste Jonglez
<openwrt-pkg@bitsofnetworks.org
>, \
20 Nick Hainke
<vincent@systemli.org
>
22 PKG_LICENSE_FILES
:=LICENCE
24 include $(INCLUDE_DIR
)/package.mk
29 SUBMENU
:=Routing and Redirection
30 TITLE
:=A loop-avoiding distance-vector routing protocol
31 URL
:=https
://www.irif.fr
/~jch
/software
/babel
/
32 DEPENDS
:=@IPV6
+libubus
+libubox
35 define Package
/babeld
/description
36 Babel is a loop-avoiding distance-vector routing protocol for IPv6 and IPv4
37 with fast convergence properties. It is based on the ideas in DSDV
, AODV and
38 Cisco
's EIGRP, but is designed to work well not only in wired networks but
39 also in wireless mesh networks, and has been extended with support for
40 overlay networks. Babel is in the process of becoming an IETF Standard.
43 define Package/babeld/conffiles
49 CFLAGS="$(TARGET_CFLAGS)" \
51 LDLIBS+="-lubus -lubox"
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))