summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep31
1 files changed, 30 insertions, 1 deletions
diff --git a/acprep b/acprep
index f9fb74d7..31ac4a47 100755
--- a/acprep
+++ b/acprep
@@ -71,6 +71,16 @@ class BoostInfo(object):
if system == 'centos':
return [ 'boost-devel' ]
+ elif system == 'ubuntu-trusty':
+ return [ 'libboost1.55-dev',
+ 'libboost-date-time1.55-dev',
+ 'libboost-filesystem1.55-dev',
+ 'libboost-iostreams1.55-dev',
+ 'libboost-python1.55-dev',
+ 'libboost-regex1.55-dev',
+ 'libboost-system1.55-dev',
+ 'libboost-test1.55-dev' ]
+
elif system == 'ubuntu-saucy' or system == 'ubuntu-precise':
return [ 'autopoint',
'libboost-dev',
@@ -563,7 +573,26 @@ class PrepareBuild(CommandLineApp):
release = open('/etc/lsb-release')
info = release.read()
release.close()
- if re.search('saucy', info):
+ if re.search('trusty', info):
+ self.log.info('Looks like you are using APT on Ubuntu Trusty')
+ 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',
+ 'sloccount'
+ ] + BoostInfo().dependencies('ubuntu-trusty')
+ elif re.search('saucy', info):
self.log.info('Looks like you are using APT on Ubuntu Saucy')
packages = [
'sudo', 'apt-get', 'install',