infoedit
Change-Id: I4d08ee17075f0b0e205817be7dcdb417073df43a
refs: #2964
diff --git a/install_helpers/install_infoedit.py b/install_helpers/install_infoedit.py
new file mode 100644
index 0000000..737f923
--- /dev/null
+++ b/install_helpers/install_infoedit.py
@@ -0,0 +1,16 @@
+#!/usr/bin/python2
+import os
+
+# Install infoedit
+def run():
+ print "\nINSTALLING infoedit"
+ print "***********************"
+ helper_path = os.path.dirname(os.path.realpath(__file__))
+ cwd_path = os.getcwd()
+ #print helper_path
+ #print cwd_path
+ os.chdir(helper_path)
+ os.chdir("infoedit")
+ os.system("g++ -o infoedit -std=c++0x infoedit.cpp $(pkg-config --cflags --libs libndn-cxx)")
+ os.system("sudo mv infoedit /usr/local/bin/")
+ os.chdir(cwd_path)