summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <jwiegley@gmail.com>2017-10-26 15:19:47 -0700
committerGitHub <noreply@github.com>2017-10-26 15:19:47 -0700
commitc56839da68f29d0326b8c0fc3b6c911865297bf0 (patch)
tree1a79115668e35619071ac8ef4cf7f7c50c66575d
parent9f6825fb428b08f7f26b880a692d74aba25ea682 (diff)
parentb35fc49463cda9a0db14a070921a9d8650dfe2a5 (diff)
downloadfork-ledger-c56839da68f29d0326b8c0fc3b6c911865297bf0.tar.gz
fork-ledger-c56839da68f29d0326b8c0fc3b6c911865297bf0.tar.bz2
fork-ledger-c56839da68f29d0326b8c0fc3b6c911865297bf0.zip
Merge pull request #489 from AustinWise/fixXenial
Add Ubuntu 16.04 (Xenial) to acprep.
-rwxr-xr-xacprep30
1 files changed, 30 insertions, 0 deletions
diff --git a/acprep b/acprep
index a7285bf4..d1c24388 100755
--- a/acprep
+++ b/acprep
@@ -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 = [