docs: update README to mention install using Homebrew

This commit is contained in:
Marcus Holland-Moritz 2024-08-25 15:44:21 +02:00
parent 3d490e541d
commit aa0a2bf4a1

View File

@ -626,8 +626,17 @@ your machine.
## macOS Support
The DwarFS libraries and tools (`mkdwarfs`, `dwarfsck`, `dwarfsextract`)
are now available from [Homebrew](https://brew.sh/):
```
$ brew install dwarfs
$ brew test dwarfs
```
The macOS version of the DwarFS filesystem driver relies on the awesome
[macFUSE](https://osxfuse.github.io/) project.
[macFUSE](https://osxfuse.github.io/) project. Until a formula has been
added, you will have to build the DwarFS FUSE driver manually.
### Building on macOS
@ -670,6 +679,12 @@ $ ctest --test-dir dwarfs-build -j
$ cmake --fresh -B dwarfs-build -S dwarfs-0.10.0 -GNinja -DWITH_TESTS=ON -DWITH_FUSE_DRIVER=OFF
```
- To *only* build the FUSE driver, you can use this instead:
```
$ cmake --fresh -B dwarfs-build -S dwarfs-0.10.0 -GNinja -DWITH_TESTS=ON -DWITH_LIBDWARFS=OFF -DWITH_TOOLS=OFF
```
- Install DwarFS:
```