From 89b2f7ba93b0b393be640da9a5e2595087e00f44 Mon Sep 17 00:00:00 2001 From: Heiko Reese Date: Sun, 22 Aug 2021 12:09:45 +0200 Subject: [PATCH] README.md: Updated build instructions --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23fbefb..9823ce9 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,28 @@ glue code that exports certain parts of the [libsodium library](https://github.c ## 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: ```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: