Skip to content

Commit a9c6adc

Browse files
committed
Include Mac build information in README
Since building on Mac using Homebrew is straightforward, include this information in a new section of the README.
1 parent c1d00a5 commit a9c6adc

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

Diff for: README.md

+33-3
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,43 @@ Results will vary depending on your hardware platform and operating system versi
208208
sudo yum install direwolf
209209

210210

211-
### Macintosh OS X ###
211+
### Macintosh macOS - Using Homebrew ###
212212

213-
Read the **User Guide** in the [**doc** directory](https://github.com/wb2osz/direwolf/tree/master/doc). It is more complicated than Linux.
213+
The following instructions have been verified on macOS Ventura 13.6 (M2) and macOS High Sierra 10.13.6 (Intel).
214+
215+
First make sure that you have the following tools installed on your Mac:
216+
217+
- [Xcode or Xcode Command Line Tools](https://developer.apple.com/xcode/resources/)
218+
- [Homebrew](https://brew.sh/)
219+
220+
You will need to install the following packages using Homebrew:
221+
222+
brew install cmake
223+
brew install portaudio
224+
brew install hidapi
225+
226+
Then follow the same instructions as above for the Linux `git clone` build:
227+
228+
cd ~
229+
git clone https://www.github.com/wb2osz/direwolf
230+
cd direwolf
231+
git checkout dev
232+
mkdir build && cd build
233+
cmake ..
234+
make -j4
235+
sudo make install
236+
make install-conf
237+
238+
This gives you the latest development version. Leave out the "git checkout dev" to get the most recent stable release.
239+
240+
For more information, see the ***User Guide*** in the [**doc** directory](https://github.com/wb2osz/direwolf/tree/master/doc).
214241

215242
If you have problems, post them to the [Dire Wolf packet TNC](https://groups.io/g/direwolf) discussion group.
216243

217-
You can also install a pre-built version from Mac Ports. Keeping this up to date depends on volunteers who perform the packaging. This version could lag behind development.
244+
245+
### Macintosh macOS - Prebuilt version ###
246+
247+
You can also install a pre-built version from MacPorts. Keeping this up to date depends on volunteers who perform the packaging. This version could lag behind development.
218248

219249
sudo port install direwolf
220250

0 commit comments

Comments
 (0)