Commit f16a70d6dcff22fabf8bad1dbe5234621c159132
1 parent
cac3ca61
Exists in
master
and in
1 other branch
Build instructions for macOS
Showing
1 changed file
with
29 additions
and
0 deletions
Show diff stats
README.md
@@ -75,3 +75,32 @@ Compiling for Windows (With MSYS2) | @@ -75,3 +75,32 @@ Compiling for Windows (With MSYS2) | ||
75 | * make all | 75 | * make all |
76 | 76 | ||
77 | 77 | ||
78 | +Building for macOS (using homebrew) | ||
79 | +=================================== | ||
80 | + | ||
81 | +1. Build and install [lib3270](lib3270/tree/master) | ||
82 | + | ||
83 | +2. Install dependencies | ||
84 | + | ||
85 | + * gtk+3 | ||
86 | + | ||
87 | + ```shell | ||
88 | + $ brew install gtk+3 | ||
89 | + ``` | ||
90 | +3. Configure, build and install | ||
91 | + | ||
92 | + ```shell | ||
93 | + $ ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3" | ||
94 | + $ make all && make install | ||
95 | + $ brew link libv3270 | ||
96 | + ``` | ||
97 | + | ||
98 | +Uninstalling | ||
99 | +------------ | ||
100 | + | ||
101 | +1. To uninstall | ||
102 | + | ||
103 | + ```shell | ||
104 | + $ brew unlink libv3270 | ||
105 | + $ rm -fr "$(brew --cellar)/libv3270" | ||
106 | + ``` |