qusal/salt/sys-bitcoin/install-source.sls

62 lines
1.6 KiB
Plaintext
Raw Normal View History

{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- .install-common
- dotfiles.copy-ssh
- dotfiles.copy-git
- sys-git.install-client
"{{ slsdotpath }}-source-installed":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs:
- clang
- ccache
- help2man
{% set pkg = {
'Debian': {
'pkg': ['build-essential', 'libtool', 'autotools-dev', 'automake',
'pkg-config', 'bsdmainutils', 'python3', 'libevent-dev',
'libboost-dev', 'libsqlite3-dev', 'libzmq3-dev'],
},
'RedHat': {
'pkg': ['gcc-c++', 'libtool', 'make', 'autoconf', 'automake', 'python3',
'libevent-devel', 'boost-devel', 'sqlite-devel', 'zeromq-devel'],
},
}.get(grains.os_family) -%}
"{{ slsdotpath }}-source-installed-os-specific":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs: {{ pkg.pkg|sequence|yaml }}
{% set pkg = {
'Debian': {
'pkg': ['libqt5gui5', 'libqt5core5a', 'libqt5dbus5', 'qttools5-dev',
'qttools5-dev-tools', 'libqrencode-dev'],
},
'RedHat': {
'pkg': ['qt5-qttools-devel', 'qt5-qtbase-devel', 'qrencode-devel'],
},
}.get(grains.os_family) -%}
"{{ slsdotpath }}-source-qt-installed-os-specific":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs: {{ pkg.pkg|sequence|yaml }}
{% endif -%}