We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80acad2 commit 3e81dc3Copy full SHA for 3e81dc3
tools/build_talib_from_source.bash
@@ -7,9 +7,10 @@ if [[ -z $1 ]]; then
7
fi
8
9
DEPS_DIR=$1
10
+VERSION=0.4.0
11
-TA_LIB_TGZ="ta-lib-0.4.0-src.tar.gz"
12
-TA_LIB_URL="http://prdownloads.sourceforge.net/ta-lib/$TA_LIB_TGZ"
+TA_LIB_TGZ="ta-lib-0.${VERSION}-src.tar.gz"
13
+TA_LIB_URL="https://github.com/TA-Lib/ta-lib/releases/download/v${VERSION}/$TA_LIB_TGZ"
14
15
if [[ -d $DEPS_DIR/lib ]]; then
16
echo "Already built"
@@ -20,7 +21,7 @@ wget -O "$DEPS_DIR/tmp/$TA_LIB_TGZ" $TA_LIB_URL
20
21
pushd $DEPS_DIR/tmp
22
tar -zxvf $TA_LIB_TGZ
23
popd
-pushd $DEPS_DIR/tmp/ta-lib
24
+pushd $DEPS_DIR/tmp/ta-lib-${VERSION}
25
./configure --prefix=$DEPS_DIR
26
make install
27
0 commit comments