#!/usr/bin/python2 | |
import os | |
# Install ndn-cxx | |
def run(): | |
print "\nINSTALLING ndn-cxx" | |
print "**********************" | |
os.system("git clone --depth 1 https://github.com/named-data/ndn-cxx") | |
os.chdir("ndn-cxx") | |
os.system("./waf configure") | |
os.system("./waf") | |
os.system("sudo ./waf install") | |
os.system("mkdir -p ~/.ndn") | |
os.system("sudo ldconfig") | |
os.chdir("..") |