1 include $(TOPDIR
)/rules.mk
7 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_SOURCE
:=prince-
$(PKG_VERSION
).
tar.gz
11 PKG_SOURCE_URL
:=https
://github.com
/gabri94
/poprouting.git
12 PKG_SOURCE_VERSION
:=v0.3
.1
13 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_SOURCE_VERSION
)
14 include $(INCLUDE_DIR
)/package.mk
19 SUBMENU
:=Routing and Redirection
20 Mantainer
:=Gabriele Gemmi
<gabriel@autistici.org
>
21 TITLE
:=PopRouting daemon
22 URL
:=https
://github.com
/gabri94
/poprouting
24 DEPENDS
:= +libjson-c
+libpthread
27 define Package
/prince
/description
28 Prince is an open source implementation of the PopRouting Algorithm.
29 It has been developed
as a Google Summer of Code Project in collaboration with Freifunk and the University of Trento.
31 It work by fetching topology data from a Link State routing demon
(OONF
, OLSR
, OSPF
, etc
),
32 calculating the betweenness centrality using the topology
, then using these data
33 the timer
's value are optimized. Finally the timers are pushed back to the routing demon.
34 Currently it only supports OLSRd2 (aka OONF).
37 define Package/prince/install
38 $(INSTALL_DIR) $(1)/usr/lib
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/output/prince $(1)/usr/sbin/
41 $(INSTALL_DATA) $(PKG_BUILD_DIR)/output/libprince_oonf_c.so $(1)/usr/lib/
45 $(eval $(call BuildPackage,prince))