summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-02-02 13:50:23 -0800
committerJohn Wiegley <johnw@newartisans.com>2014-02-02 13:50:23 -0800
commitdcb24fbb5c9b35b36b7e66da6b5cbce6ff150ed4 (patch)
tree23709d85458e0908ad6da5e4eb65ef143854fda1 /acprep
parent8155cd5839ed436623a1e1513f9e9bcca9190f00 (diff)
parent021e0ecde93de813def8af11c696b0f9c9e95a51 (diff)
downloadfork-ledger-dcb24fbb5c9b35b36b7e66da6b5cbce6ff150ed4.tar.gz
fork-ledger-dcb24fbb5c9b35b36b7e66da6b5cbce6ff150ed4.tar.bz2
fork-ledger-dcb24fbb5c9b35b36b7e66da6b5cbce6ff150ed4.zip
Merge pull request #235 from afh/pull/acprep-saucy
Update dependencies installation
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep23
1 files changed, 21 insertions, 2 deletions
diff --git a/acprep b/acprep
index 169ce266..dde3e62f 100755
--- a/acprep
+++ b/acprep
@@ -71,7 +71,7 @@ class BoostInfo(object):
if system == 'centos':
return [ 'boost-devel' ]
- elif system == 'ubuntu-precise':
+ elif system == 'ubuntu-saucy' or system == 'ubuntu-precise':
return [ 'autopoint',
'libboost-dev',
'libboost-test-dev',
@@ -563,7 +563,26 @@ class PrepareBuild(CommandLineApp):
release = open('/etc/lsb-release')
info = release.read()
release.close()
- if re.search('precise', info):
+ if re.search('saucy', info):
+ self.log.info('Looks like you are using APT on Ubuntu Saucy')
+ packages = [
+ 'sudo', 'apt-get', 'install',
+ 'build-essential',
+ 'libtool',
+ 'cmake',
+ 'ninja-build',
+ 'zlib1g-dev',
+ 'libbz2-dev',
+ 'python-dev',
+ 'libgmp-dev',
+ 'libmpfr-dev',
+ 'gettext',
+ 'libedit-dev',
+ 'texinfo',
+ 'lcov',
+ 'sloccount'
+ ] + BoostInfo().dependencies('ubuntu-saucy')
+ elif re.search('precise', info):
self.log.info('Looks like you are using APT on Ubuntu Precise')
packages = [
'sudo', 'apt-get', 'install',