summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel <gabriel@autistici.org>2017-01-25 23:33:28 +0100
committerGabriel <gabriel@autistici.org>2017-01-26 22:21:44 +0100
commite4fadd105ecc4a380170b97bd17cb258015c96e0 (patch)
tree55a3362b7647c4b58b498637d5eb795387f7218c
parentc46abbf197abbb392bc9e2261fe1f4a99ed916ae (diff)
added install
-rw-r--r--poprouting/Makefile10
1 files changed, 9 insertions, 1 deletions
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 <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))