Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: client/deps/sysstat/sysstat.py

Issue 661240: Adding the dependencies for mpstat, which is part of the sysstat package. (Closed)
Patch Set: netperf2.py changes Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/deps/sysstat/control ('k') | client/deps/sysstat/sysstat-9.0.6.tar.gz » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « client/deps/sysstat/control ('k') | client/deps/sysstat/sysstat-9.0.6.tar.gz » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698