blob: d4d0b9262a6faa2eb19c83bbfefd81098cb2954a [file] [log] [blame]
Eric Newberry86b00b92015-06-07 15:23:51 -07001#!/usr/bin/python2
2import os
3
4# Install ndn-tools
5def run():
6 print "\nINSTALLING ndn-tools"
7 print "***********************"
Junxiao Shi33a6ee12016-12-26 18:59:38 +00008 os.system("git clone --depth 1 https://github.com/named-data/ndn-tools")
Eric Newberry86b00b92015-06-07 15:23:51 -07009 os.chdir("ndn-tools")
Eric Newberry86b00b92015-06-07 15:23:51 -070010 os.system("./waf configure")
Eric Newberry59094fc2017-11-02 00:41:32 -070011 os.system("./waf")
Eric Newberry86b00b92015-06-07 15:23:51 -070012 os.system("sudo ./waf install")
13 os.chdir("..")