summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2022-11-20 18:02:13 +0900
committerRyo Nakamura <upa@haeena.net>2022-11-20 18:03:56 +0900
commite22bc5523b25bd23cde1c47dfe9b567ca7145221 (patch)
tree43e56bf2fc7cfbe2a7b13a745f8c8b66a44910e5 /README.md
parentb6b283f8b5f5803af4be765788d873d837154f73 (diff)
fix CPACK build dependency
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 8 insertions, 16 deletions
diff --git a/README.md b/README.md
index 02515e0..6378c61 100644
--- a/README.md
+++ b/README.md
@@ -44,35 +44,27 @@ patch introduces asynchronous SFTP Write, which is derived from
https://github.com/limes-datentechnik-gmbh/libssh (see [Re: SFTP Write
async](https://archive.libssh.org/libssh/2020-06/0000004.html)).
-- macOS
-
-```console
-brew install openssl
-```
-
-- ubuntu
-
-```console
-sudo apt-get install zlib1g-dev libssl-dev libkrb5-dev
-```
-
-Clone and build this repositoy.
+Currently macOS and Linux (Ubuntu, CentOS, Rocky) are supported.
```console
+# 1. clone this repository
git clone https://github.com/upa/mscp.git
cd mscp
-# prepare patched libssh
+# 2. install build dependency
+bash ./scripts/install-build-deps.sh
+
+# 3. prepare patched libssh
git submodule init
git submodule update
cd libssh && git apply ../patch/libssh-0.10.4.patch
-# configure mscp
+# 4. configure mscp
cd ..
mkdir build && mv build
cmake ..
-# in macOS, you may need OPENSSL_ROOT_DIR for cmake like:
+## in macOS, you may need OPENSSL_ROOT_DIR for cmake like:
cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
# build