From e4fadd105ecc4a380170b97bd17cb258015c96e0 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 25 Jan 2017 23:33:28 +0100 Subject: [PATCH] added install --- poprouting/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/poprouting/Makefile b/poprouting/Makefile index a2911ac..dd1f454 100644 --- a/poprouting/Makefile +++ b/poprouting/Makefile @@ -20,7 +20,7 @@ define Package/prince Mantainer :=Gabriele Gemmi 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)) -- 2.30.2