summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep35
1 files changed, 34 insertions, 1 deletions
diff --git a/acprep b/acprep
index f6b201a0..f260edcb 100755
--- a/acprep
+++ b/acprep
@@ -239,6 +239,15 @@ class BoostInfo(object):
'libboost-filesystem-dev',
'libboost-iostreams-dev' ]
+ elif system == 'ubuntu-oneiric':
+ return [ 'libboost-dev',
+ 'libboost-python-dev',
+ 'libboost-regex-dev',
+ 'libboost-date-time-dev',
+ 'libboost-filesystem-dev',
+ 'libboost-iostreams-dev' ]
+
+
class CommandLineApp(object):
"Base class for building command line applications."
@@ -865,7 +874,7 @@ class PrepareBuild(CommandLineApp):
'lcov',
'sloccount'
] + self.boost_info.dependencies('ubuntu-karmic')
- else:
+ elif re.search('hardy', info):
self.log.info('Looks like you are using APT on Ubuntu Hardy')
packages = [
'sudo', 'apt-get', 'install',
@@ -889,6 +898,30 @@ class PrepareBuild(CommandLineApp):
'lcov',
'sloccount'
] + self.boost_info.dependencies('ubuntu-hardy')
+ elif re.search('oeneric', info):
+ self.log.info('Looks like you are using APT on Ubuntu Oeneric')
+ packages = [
+ 'sudo', 'apt-get', 'install',
+ 'build-essential',
+ 'libtool',
+ 'autoconf',
+ 'automake',
+ 'autopoint',
+ 'zlib1g-dev',
+ 'libbz2-dev',
+ 'python-dev',
+ 'cvs',
+ 'gettext',
+ 'libgmp3-dev',
+ 'libmpfr-dev',
+ 'libedit-dev',
+ #'texlive-full',
+ #'doxygen',
+ #'graphviz',
+ 'texinfo',
+ 'lcov',
+ 'sloccount'
+ ] + self.boost_info.dependencies('ubuntu-oeneric')
self.log.info('Executing: ' + string.join(packages, ' '))
self.execute(*packages)