Add myself to maintainers
[feed/routing.git] / babeld / Makefile
1 #
2 # Copyright (C) 2007-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=babeld
11 PKG_VERSION:=1.4.2
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/
16 PKG_MD5SUM:=a48e8129f221f66640ae1ccf73190991
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/babeld
21 SECTION:=net
22 CATEGORY:=Network
23 SUBMENU:=Routing and Redirection
24 TITLE:=A loop-free distance-vector routing protocol
25 URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/babel/
26 MAINTAINER:=Gabriel Kerneis <gabriel@kerneis.info>
27 DEPENDS:=+kmod-ipv6 +librt
28 endef
29
30 define Package/babeld/description
31 Babel is a loop-avoiding distance-vector routing protocol roughly based
32 on DSDV and AODV, but with provisions for link cost estimation and
33 redistribution of routes from other routing protocols.
34 While it is optimised for wireless mesh networks, Babel will also work
35 efficiently on wired networks. It will generate between 1.2 and 2.4 times
36 the amount of routing traffic that RIPng would generate, while
37 never counting to infinity.
38 endef
39
40 define Package/babeld/conffiles
41 /etc/babeld.conf
42 /etc/config/babeld
43 endef
44
45 MAKE_FLAGS+= \
46 CFLAGS="$(TARGET_CFLAGS)" \
47
48 define Package/babeld/install
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/babeld $(1)/usr/sbin/
51 $(INSTALL_DIR) $(1)/etc
52 $(INSTALL_CONF) ./files/babeld.conf $(1)/etc/
53 $(INSTALL_DIR) $(1)/etc/config
54 $(INSTALL_CONF) ./files/babeld.config $(1)/etc/config/babeld
55 $(INSTALL_DIR) $(1)/etc/init.d
56 $(INSTALL_BIN) ./files/babeld.init $(1)/etc/init.d/babeld
57 endef
58
59 $(eval $(call BuildPackage,babeld))