From e12d136ba3e1f7cff12b2cbff6cabbc7928bc029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Mon, 14 May 2018 13:11:20 +0000 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- README.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7a3c7b4..d504c42 100644 --- a/README.md +++ b/README.md @@ -6,22 +6,20 @@ It runs on Linux, OpenBSD, FreeBSD and MacOS. ### Build and Install Glorytun depends on [libsodium](https://github.com/jedisct1/libsodium) version >= 1.0.4. +We recommend the use of [meson](http://mesonbuild.com) for building instead of +the more classical autotools suite (also available for old systems). -On Ubuntu, the following command should be sufficient: +On Ubuntu, the following command should be sufficient to get all the necessary build dependencies: $ sudo apt-get install meson libsodium-dev pkg-config -Grab the latest release from github: +To build and install the latest release from github: $ git clone https://github.com/angt/glorytun --recursive - $ cd glorytun + $ meson glorytun glorytun/build + $ sudo ninja -C glorytun/build install -To build and install the latest version with [meson](http://mesonbuild.com): - - $ meson build - $ sudo ninja -C build install - -The more classical autotools suite is also available but not recommended. +This will install all binaries in `/usr/local/bin/` by default. ### Usage