Rename dependencies directory
[novacoin.git] / dependencies / boost / setup.sh
diff --git a/dependencies/boost/setup.sh b/dependencies/boost/setup.sh
new file mode 100755 (executable)
index 0000000..8a35c2e
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+if [[ ! $(which wget) ]]; then
+    echo "wget is not installed"
+    exit -1
+fi
+
+ROOT=$(pwd)
+VER=1_78_0
+
+wget -O ${ROOT}/boost_${VER}.tar.gz https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_${VER}.tar.gz
+tar -xzf ${ROOT}/boost_${VER}.tar.gz
+mv ${ROOT}/boost_${VER} boost
+
+cd ${ROOT}/boost
+
+# Compile b2 tool
+./bootstrap.sh
+
+cd ${ROOT}