Yanbiao Li | e00f7f0 | 2015-05-20 20:20:10 -0700 | [diff] [blame] | 1 | #!/usr/bin/python2 |
| 2 | import os |
| 3 | |
| 4 | # Install ndn-tlv-ping |
| 5 | def run(): |
| 6 | print "\nINSTALLING repo-ng" |
| 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/repo-ng") |
Yanbiao Li | e00f7f0 | 2015-05-20 20:20:10 -0700 | [diff] [blame] | 9 | os.chdir("repo-ng") |
| 10 | os.system("./waf distclean") |
| 11 | os.system("./waf configure") |
| 12 | os.system("./waf -j1") |
| 13 | os.system("sudo ./waf install") |
| 14 | os.chdir("..") |