Eric Newberry | 86b00b9 | 2015-06-07 15:23:51 -0700 | [diff] [blame] | 1 | #!/usr/bin/python2 |
| 2 | import os |
| 3 | |
| 4 | # Install ndn-tools |
| 5 | def run(): |
| 6 | print "\nINSTALLING ndn-tools" |
| 7 | print "***********************" |
Junxiao Shi | 33a6ee1 | 2016-12-26 18:59:38 +0000 | [diff] [blame] | 8 | os.system("git clone --depth 1 https://github.com/named-data/ndn-tools") |
Eric Newberry | 86b00b9 | 2015-06-07 15:23:51 -0700 | [diff] [blame] | 9 | os.chdir("ndn-tools") |
Eric Newberry | 86b00b9 | 2015-06-07 15:23:51 -0700 | [diff] [blame] | 10 | os.system("./waf configure") |
Eric Newberry | 59094fc | 2017-11-02 00:41:32 -0700 | [diff] [blame^] | 11 | os.system("./waf") |
Eric Newberry | 86b00b9 | 2015-06-07 15:23:51 -0700 | [diff] [blame] | 12 | os.system("sudo ./waf install") |
| 13 | os.chdir("..") |