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 MAINTAINER
:=Gabriele Gemmi
<gabriel@autistici.org
>
21 TITLE
:=PopRouting daemon
22 URL
:=https
://github.com
/gabri94
/poprouting
23 DEPENDS
:= +libjson-c
+libpthread
26 define Package
/prince
/description
27 Prince is an open source implementation of the PopRouting Algorithm.
28 It has been developed
as a Google Summer of Code Project in collaboration with Freifunk and the University of Trento.
30 It work by fetching topology data from a Link State routing demon
(OONF
, OLSR
, OSPF
, etc
),
31 calculating the betweenness centrality using the topology
, then using these data
32 the timer
's value are optimized. Finally the timers are pushed back to the routing demon.
33 Currently it only supports OLSRd2 (aka OONF).
36 CFLAGS += $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)
37 LDFLAGS += $(TARGET_LDFLAGS)
39 define Package/prince/install
40 $(INSTALL_DIR) $(1)/usr/lib
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/output/prince $(1)/usr/sbin/
43 $(INSTALL_DATA) $(PKG_BUILD_DIR)/output/libprince_oonf_c.so $(1)/usr/lib/
47 $(eval $(call BuildPackage,prince))