diff options
author | Austin Wise <AustinWise@gmail.com> | 2017-04-11 20:56:10 -0700 |
---|---|---|
committer | Austin Wise <AustinWise@gmail.com> | 2017-04-11 20:56:10 -0700 |
commit | b35fc49463cda9a0db14a070921a9d8650dfe2a5 (patch) | |
tree | 4b89e9dcb6b0022221a509f19b4f24a721b3fa33 | |
parent | b41454477a0576952f77a20ee32c38eb1b9c1442 (diff) | |
download | fork-ledger-b35fc49463cda9a0db14a070921a9d8650dfe2a5.tar.gz fork-ledger-b35fc49463cda9a0db14a070921a9d8650dfe2a5.tar.bz2 fork-ledger-b35fc49463cda9a0db14a070921a9d8650dfe2a5.zip |
Add Ubuntu 16.04 (Xenial) to acprep.
-rwxr-xr-x | acprep | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -66,6 +66,16 @@ class BoostInfo(object): if system == 'centos': return [ 'boost-devel' ] + elif system == 'ubuntu-xenial': + return [ 'libboost-dev', + 'libboost-date-time-dev', + 'libboost-filesystem-dev', + 'libboost-iostreams-dev', + 'libboost-python-dev', + 'libboost-regex-dev', + 'libboost-system-dev', + 'libboost-test-dev' ] + elif system == 'ubuntu-trusty': return [ 'libboost-dev', 'libboost-date-time-dev', @@ -565,6 +575,26 @@ class PrepareBuild(CommandLineApp): 'libutfcpp-dev', 'sloccount' ] + BoostInfo().dependencies('ubuntu-trusty') + elif re.search('xenial', info): + self.log.info('Looks like you are using APT on Ubuntu Xenial') + packages = [ + 'sudo', 'apt-get', 'install', + 'build-essential', + 'doxygen', + 'cmake', + 'ninja-build', + 'zlib1g-dev', + 'libbz2-dev', + 'python-dev', + 'libgmp3-dev', + 'libmpfr-dev', + 'gettext', + 'libedit-dev', + 'texinfo', + 'lcov', + 'libutfcpp-dev', + 'sloccount' + ] + BoostInfo().dependencies('ubuntu-xenial') elif re.search('saucy', info): self.log.info('Looks like you are using APT on Ubuntu Saucy') packages = [ |