From f16a70d6dcff22fabf8bad1dbe5234621c159132 Mon Sep 17 00:00:00 2001 From: André Breves Date: Tue, 28 Apr 2020 17:39:50 -0300 Subject: [PATCH] Build instructions for macOS --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index d684908..6eed240 100644 --- a/README.md +++ b/README.md @@ -75,3 +75,32 @@ Compiling for Windows (With MSYS2) * make all +Building for macOS (using homebrew) +=================================== + +1. Build and install [lib3270](lib3270/tree/master) + +2. Install dependencies + + * gtk+3 + + ```shell + $ brew install gtk+3 + ``` +3. Configure, build and install + + ```shell + $ ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3" + $ make all && make install + $ brew link libv3270 + ``` + +Uninstalling +------------ + +1. To uninstall + + ```shell + $ brew unlink libv3270 + $ rm -fr "$(brew --cellar)/libv3270" + ``` -- libgit2 0.21.2