summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2014-02-02 09:16:35 +0000
committerAlexis Hildebrandt <afh@surryhill.net>2014-02-02 09:16:35 +0000
commit021e0ecde93de813def8af11c696b0f9c9e95a51 (patch)
tree42868029dabd8ebad4cdfb3c416b46fe6a74c7f5 /acprep
parentf300cfccb7b10e44965eb8b4b3741ae9fbf04a57 (diff)
downloadfork-ledger-021e0ecde93de813def8af11c696b0f9c9e95a51.tar.gz
fork-ledger-021e0ecde93de813def8af11c696b0f9c9e95a51.tar.bz2
fork-ledger-021e0ecde93de813def8af11c696b0f9c9e95a51.zip
Update dependencies installation
for Ubuntu Saucy Salamander
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',