new package: talib (#5526)

This commit is contained in:
ifurther 2020-07-15 05:33:49 +08:00 committed by GitHub
parent 4c75e489b5
commit a877186bab
1 changed files with 11 additions and 0 deletions

11
packages/talib/build.sh Normal file
View File

@ -0,0 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/ta-lib/
TERMUX_PKG_DESCRIPTION="Technical analysis library with indicators like ADX."
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=0.4.0
TERMUX_PKG_SRCURL=https://prdownloads.sourceforge.net/ta-lib/ta-lib-$TERMUX_PKG_VERSION-src.tar.gz
TERMUX_PKG_SHA256=9ff41efcb1c011a4b4b6dfc91610b06e39b1d7973ed5d4dee55029a0ac4dc651
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
curl https://sourceforge.net/p/ta-lib/code/HEAD/tree/tags/release-${TERMUX_PKG_VERSION//./-}/ta-lib/LICENSE.TXT?format=raw -o $TERMUX_PKG_SRCDIR/LICENSE
}