added install

This commit is contained in:
Gabriel 2017-01-25 23:33:28 +01:00
parent c46abbf197
commit e4fadd105e
1 changed files with 9 additions and 1 deletions

View File

@ -20,7 +20,7 @@ define Package/prince
Mantainer :=Gabriele Gemmi <gabriel@autistici.org>
TITLE :=PopRouting daemon
URL :=https://github.com/gabri94/poprouting
MENU :=1
MENU :=0
DEPENDS := +libjson-c +libpthread
endef
@ -33,5 +33,13 @@ uses the betweenness centrality to optimize the timer's value and pushes back th
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,prince))