README.md: Updated build instructions

This commit is contained in:
Heiko Reese
2021-08-22 12:09:45 +02:00
parent fe87a7d8f5
commit 89b2f7ba93

View File

@ -5,12 +5,28 @@ glue code that exports certain parts of the [libsodium library](https://github.c
## Installation ## Installation
These instructions are currently only tested on Debian Linux. These instructions are currently only tested on [Debian](https://www.debian.org) and
[Ubuntu](https://ubuntu.com).
1. Install development tools and libsodium development files: 1. Install development tools and libsodium development files:
```shell ```shell
apt-get build-essential exim4-dev libsodium-dev meson pkg-config openssl exim4-daemon-heavy apt-get install -y build-essential exim4-dev libsodium-dev meson pkg-config openssl exim4-daemon-heavy
```
`exim-encrypt-dlfunc` uses [meson](https://mesonbuild.com/) (and [ninja](https://ninja-build.org/)) as build system. To
ensure all features are present (which are lacking in the version packages in older distributions)
it is advised to install from [pypi](https://pypi.org/) via [pip](https://pypi.org/project/pip/):
```shell
apt-get install -y python3-pip
pip3 install meson ninja
```
You may alternatively use your distribution packages:
```shell
apt-get install -y meson
``` ```
2. Clone this repository: 2. Clone this repository: