X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=poprouting%2FMakefile;h=6a889057ba3ae0f9516d43173cb7e777e3504ac4;hb=9c65b25b59f9c5af9177f76f9ecd374ac8cf2312;hp=bf9c3a92981acf07b86d9082ecbe1f14eadb91a2;hpb=2fa9b0cec95e08f5a7fd8c5a25dd6708e67cbe83;p=lede-routing%2F.git diff --git a/poprouting/Makefile b/poprouting/Makefile index bf9c3a9..6a88905 100644 --- a/poprouting/Makefile +++ b/poprouting/Makefile @@ -19,7 +19,8 @@ define Package/prince SUBMENU :=Routing and Redirection Mantainer :=Gabriele Gemmi TITLE :=PopRouting daemon - MENU :=1 + URL :=https://github.com/gabri94/poprouting + MENU :=0 DEPENDS := +libjson-c +libpthread endef @@ -27,10 +28,19 @@ define Package/prince/description Prince is an open source implementation of the PopRouting Algorithm. It has been developed as a Google Summer of Code Project in collaboration with Freifunk and the University of Trento. -It fetches topology data from a Link State routing deamon(OONF, OLSR, OSPF, etc), -uses the betweenness centrality to optimize the timer's value and pushes back the optimized timer. +It work by fetching topology data from a Link State routing demon(OONF, OLSR, OSPF, etc), +calculating the betweenness centrality using the topology, then using these data +the timer's value are optimized. Finally the timers are pushed back to the routing demon. Currently it only supports OLSRd2 (aka OONF). endef +define Package/prince/install + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_DATA) $(PKG_BUILD_DIR)/graph-parser_c/build/lib/libgraphcparser.so $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/prince/build/prince_c $(1)/usr/sbin/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/prince/build/libprince_oonf.so $(1)/usr/lib/ +endef + -$(eval $(call BuildPackage,poprouting)) +$(eval $(call BuildPackage,prince))