OLD | NEW |
---|---|
(Empty) | |
1 #!/usr/bin/python | |
2 | |
3 import os, common | |
4 from autotest_lib.client.bin import utils | |
5 | |
6 version = 1 | |
7 | |
8 def setup(tarball, topdir): | |
9 srcdir = os.path.join(topdir, 'src') | |
10 utils.extract_tarball_to_dir(tarball, srcdir) | |
11 os.chdir(srcdir) | |
12 utils.system('make BINDIR=%s install' % (topdir)) | |
13 os.chdir(topdir) | |
14 | |
15 pwd = os.getcwd() | |
16 tarball = os.path.join(pwd, 'iwcap.tar.gz') | |
17 utils.update_version(pwd + '/src', False, version, setup, tarball, pwd) | |
OLD | NEW |