Skip to content

Latest commit

 

History

History
54 lines (51 loc) · 1.93 KB

INSTALL.macOS.md

File metadata and controls

54 lines (51 loc) · 1.93 KB
$ echo "Install [email protected]"
$ wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2g.tar.gz -O OpenSSL_1_0_2g.tar.gz
$ tar -xf OpenSSL_1_0_2g.tar.gz && cd openssl-OpenSSL_1_0_2g
$ ./config
$ make && sudo make install
$ cd .. && rm -rf openssl-OpenSSL_1_0_2g && rm -f OpenSSL_1_0_2g.tar.gz
$ echo "Install [email protected]"
$ wget https://github.com/curl/curl/archive/curl-7_48_0.tar.gz -O curl-7_48_0.tar.gz
$ tar -xf curl-7_48_0.tar.gz && cd curl-curl-7_48_0
$ mkdir build && cd build
$ cmake ..
$ make && sudo make install
$ cd ../.. && rm -rf curl-curl-7_48_0 && rm -f curl-7_48_0.tar.gz
$ echo "Install [email protected]"
$ wget https://github.com/zeux/pugixml/releases/download/v1.7/pugixml-1.7.tar.gz -O pugixml-1.7.tar.gz
$ tar -xf pugixml-1.7.tar.gz && cd pugixml-1.7
$ mkdir build && cd build 
$ cmake ../scripts/
$ make && sudo make install
$ cd ../.. && rm -rf pugixml-1.7 && rm -f pugixml-1.7.tar.gz
$ echo "Install [email protected]"
$ wget https://github.com/designerror/webdav-client-cpp/archive/v1.0.0.tar.gz -O webdavclient-0.9.9.tar.gz
$ tar -xf webdavclient-1.0.0.tar.gz && cd webdav-client-cpp-1.0.0
$ export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
$ mkdir build && cd build
$ cmake ..
$ make && sudo make install
$ cd ../.. && rm -rf webdav-client-cpp-1.0.0 && rm -f webdavclient-1.0.0.tar.gz
$ echo "Building tests for [email protected]"
$ wget https://github.com/designerror/webdav-client-cpp/archive/v1.0.0.tar.gz -O webdavclient-1.0.0.tar.gz
$ tar -xf webdavclient-1.0.0.tar.gz && cd webdav-client-cpp-1.0.0
$ export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
$ mkdir build && cd build
$ cmake .. && make
$ ctest
$ cd ../.. && rm -rf webdav-client-cpp-1.0.0 && rm -f webdavclient-1.0.0.tar.gz