diff options
author | John Wiegley <johnw@newartisans.com> | 2014-02-02 13:50:23 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-02-02 13:50:23 -0800 |
commit | dcb24fbb5c9b35b36b7e66da6b5cbce6ff150ed4 (patch) | |
tree | 23709d85458e0908ad6da5e4eb65ef143854fda1 /acprep | |
parent | 8155cd5839ed436623a1e1513f9e9bcca9190f00 (diff) | |
parent | 021e0ecde93de813def8af11c696b0f9c9e95a51 (diff) | |
download | fork-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-x | acprep | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -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', |