diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-06 11:58:10 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-06 12:07:03 +0100 |
commit | 63dc7e9517968f315b95ac0c445b9668b77de794 (patch) | |
tree | d528d8a0751937da984e349c3ce440ed616eb550 /acprep | |
parent | debad90709aa5ae146eec6144a309cbd3b289fc8 (diff) | |
download | fork-ledger-63dc7e9517968f315b95ac0c445b9668b77de794.tar.gz fork-ledger-63dc7e9517968f315b95ac0c445b9668b77de794.tar.bz2 fork-ledger-63dc7e9517968f315b95ac0c445b9668b77de794.zip |
acprep: Add dependencies for Debian trixie
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -709,6 +709,33 @@ class PrepareBuild(CommandLineApp): self.log.info('Executing: ' + ' '.join(packages)) self.execute(*packages) + if exists('/etc/debian_version'): + release = open('/etc/debian_version').readline() + if release.startswith('trixie'): + self.log.info(f'Looks like you are using APT on Debian {release}') + packages = [ + 'sudo', 'apt', 'install', '-y', '--no-install-recommends', + 'clang', + 'cmake', + 'ninja', + 'libboost-dev', + 'libmpfr-dev', + 'libgmp-dev', + 'libicu-dev', + 'libedit-dev', + 'libutfcpp-dev', + 'gettext', + 'texinfo', + 'doxygen', + 'graphviz', + 'lcov', + 'sloccount', + ] + self.log.info('Executing: ' + ' '.join(packages)) + self.execute(*packages) + else: + self.log.info(f"I do not recognize your version '{release}' of Debian!") + if exists('/etc/redhat-release'): release = open('/etc/redhat-release').readline() if release.startswith('CentOS'): |