luci-app-olsrd2: upgrade uci-defaults for ucitrack handling to use json
[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.9.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://www.irif.fr/~jch/software/files/
16 PKG_HASH:=154f00e0a8bf35d6ea9028886c3dc5c3c342dd1a367df55ef29a547b75867f07
17
18 PKG_MAINTAINER:=Gabriel Kerneis <gabriel@kerneis.info>, \
19 Baptiste Jonglez <openwrt-pkg@bitsofnetworks.org>
20 PKG_LICENSE:=MIT
21 PKG_LICENSE_FILES:=LICENCE
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/babeld
26 SECTION:=net
27 CATEGORY:=Network
28 SUBMENU:=Routing and Redirection
29 TITLE:=A loop-avoiding distance-vector routing protocol
30 URL:=https://www.irif.fr/~jch/software/babel/
31 DEPENDS:=@IPV6
32 endef
33
34 define Package/babeld/description
35 Babel is a loop-avoiding distance-vector routing protocol for IPv6 and IPv4
36 with fast convergence properties. It is based on the ideas in DSDV, AODV and
37 Cisco's EIGRP, but is designed to work well not only in wired networks but
38 also in wireless mesh networks, and has been extended with support for
39 overlay networks. Babel is in the process of becoming an IETF Standard.
40 endef
41
42 define Package/babeld/conffiles
43 /etc/babeld.conf
44 /etc/config/babeld
45 endef
46
47 MAKE_FLAGS+= \
48 CFLAGS="$(TARGET_CFLAGS)" \
49 LDLIBS="" \
50
51 define Package/babeld/install
52 $(INSTALL_DIR) $(1)/usr/sbin
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/babeld $(1)/usr/sbin/
54 $(INSTALL_DIR) $(1)/etc
55 $(INSTALL_CONF) ./files/babeld.conf $(1)/etc/
56 $(INSTALL_DIR) $(1)/etc/config
57 $(INSTALL_CONF) ./files/babeld.config $(1)/etc/config/babeld
58 $(INSTALL_DIR) $(1)/etc/init.d
59 $(INSTALL_BIN) ./files/babeld.init $(1)/etc/init.d/babeld
60 endef
61
62 $(eval $(call BuildPackage,babeld))