install-apps: replacing ndn-cpp-dev with ndn-cxx
Change-Id: Ie56b1ce3817ff60d186af52edda8848002a59c62
refs: #1537
diff --git a/install_helpers/install_ndncxx.py b/install_helpers/install_ndncxx.py
new file mode 100644
index 0000000..87ef0ff
--- /dev/null
+++ b/install_helpers/install_ndncxx.py
@@ -0,0 +1,17 @@
+#!/usr/bin/python2
+import os
+
+# Install ndn-cpp-dev
+def run():
+ print "\nINSTALLING ndn-cxx"
+ print "**********************"
+ os.system("git clone https://github.com/named-data/ndn-cxx --depth 1")
+ os.chdir("ndn-cxx")
+ os.system("./waf distclean")
+ os.system("./waf configure")
+ os.system("./waf -j1")
+ os.system("sudo ./waf install")
+ os.system("mkdir -p ~/.ndn")
+ os.system("cp client.conf.sample ~/.ndn/client.conf")
+ os.system("sed -i 's/^protocol=.*$/protocol=nfd-0.1/g' ~/.ndn/client.conf")
+ os.chdir("..")