1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00

changed build instructions to meson

This commit is contained in:
Falk Werner 2020-06-06 15:12:15 +02:00
parent 88a8500014
commit 2cc851134d

View File

@ -8,11 +8,9 @@ Reference implementation of webfuse provider
To install dependecies, see below. To install dependecies, see below.
cd webfused meson build
mkdir build
cd build cd build
cmake .. ninja
make
./webfuse-provider ./webfuse-provider
## Dependencies ## Dependencies
@ -21,38 +19,4 @@ To install dependecies, see below.
- [libwebsockets](https://libwebsockets.org/) - [libwebsockets](https://libwebsockets.org/)
- [jansson](https://github.com/akheron/jansson) - [jansson](https://github.com/akheron/jansson)
### Installing dependencies All dependencies are bundled using meson wrap files.
#### libwebsockets
wget https://github.com/warmcat/libwebsockets/archive/v3.2.0.tar.gz -O libwebsockets.tar.gz
tar -xf libwebsockets.tar.gz
cd libwebsockets-3.2.0
mkdir .build
cd .build
cmake ..
make
sudo make install
#### jansson
wget https://github.com/akheron/jansson/archive/v2.12.tar.gz -O jansson.tar.gz
tar -xf jansson.tar.gz
cd jansson-2.12
mkdir .build
cd .build
cmake ..
make
sudo make install
#### webfuse
wget https://github.com/falk-werner/webfuse/archive/v0.2.0.tar.gz -O webfuse.tar.gz
tar -xf webfuse.tar.gz
cd webfuse-0.2.0
mkdir .build
cd .build
cmake -DWITHOUT_ADAPTER=ON ..
make
sudo make install