diff options
-rwxr-xr-x | acprep | 35 |
1 files changed, 34 insertions, 1 deletions
@@ -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) |