Index: client/deps/sysstat/sysstat.py |
diff --git a/client/deps/sysstat/sysstat.py b/client/deps/sysstat/sysstat.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..78fdeeb47166a7953cfc518b7e837f6a8d9a12be |
--- /dev/null |
+++ b/client/deps/sysstat/sysstat.py |
@@ -0,0 +1,24 @@ |
+#!/usr/bin/python |
+ |
+import os |
+import common |
+from autotest_lib.client.bin import utils |
+ |
+version = 1 |
+ |
+def setup(tarball, topdir): |
+ srcdir = os.path.join(topdir, 'src') |
+ if not os.path.exists(tarball): |
+ utils.get_file( |
+ 'http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.6.tar.gz', |
+ tarball) |
+ utils.extract_tarball_to_dir(tarball, 'src') |
+ os.chdir(srcdir) |
+ utils.system ('./configure --prefix=%s' % topdir) |
+ utils.system('make') |
+ utils.system('make install') |
+ os.chdir(topdir) |
+ |
+pwd = os.getcwd() |
+tarball = os.path.join(pwd, 'sysstat-9.0.6.tar.gz') |
+utils.update_version(pwd+'/src', False, version, setup, tarball, pwd) |