Index: client/deps/iwcap/iwcap.py |
diff --git a/client/deps/iwcap/iwcap.py b/client/deps/iwcap/iwcap.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..0dc39ed8a62361df0e27c5844dea98cdc4d61f9a |
--- /dev/null |
+++ b/client/deps/iwcap/iwcap.py |
@@ -0,0 +1,17 @@ |
+#!/usr/bin/python |
+ |
+import os, common |
+from autotest_lib.client.bin import utils |
+ |
+version = 1 |
+ |
+def setup(tarball, topdir): |
+ srcdir = os.path.join(topdir, 'src') |
+ utils.extract_tarball_to_dir(tarball, srcdir) |
+ os.chdir(srcdir) |
+ utils.system('make BINDIR=%s install' % (topdir)) |
+ os.chdir(topdir) |
+ |
+pwd = os.getcwd() |
+tarball = os.path.join(pwd, 'iwcap.tar.gz') |
+utils.update_version(pwd + '/src', False, version, setup, tarball, pwd) |