added install

This commit is contained in:
Gabriel 2017-01-25 23:33:28 +01:00
parent ef885818ec
commit 7120a94aaf

View file

@ -20,7 +20,7 @@ define Package/prince
Mantainer :=Gabriele Gemmi <gabriel@autistici.org> Mantainer :=Gabriele Gemmi <gabriel@autistici.org>
TITLE :=PopRouting daemon TITLE :=PopRouting daemon
URL :=https://github.com/gabri94/poprouting URL :=https://github.com/gabri94/poprouting
MENU :=1 MENU :=0
DEPENDS := +libjson-c +libpthread DEPENDS := +libjson-c +libpthread
endef 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). Currently it only supports OLSRd2 (aka OONF).
endef 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)) $(eval $(call BuildPackage,prince))