Fix source of libmpdec

Test: decimal
pull/293/head
Michele Locati 2021-02-06 20:40:01 +01:00
parent f1f0987445
commit 04cd19d0a7
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 8 additions and 6 deletions

View File

@ -1536,12 +1536,14 @@ installRemoteModule() {
decimal) decimal)
case "$DISTRO" in case "$DISTRO" in
alpine) alpine)
installRemoteModule_src="$(getPackageSource https://codeload.github.com/bematech/libmpdec/tar.gz/master)" if ! test -f /usr/local/lib/libmpdec.so; then
cd -- "$installRemoteModule_src" installRemoteModule_src="$(getPackageSource https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz)"
./configure CFLAGS='-w' cd -- "$installRemoteModule_src"
make -j$(getProcessorCount) ./configure --disable-cxx
make install make -j$(getProcessorCount)
cd - >/dev/null make install
cd - >/dev/null
fi
;; ;;
esac esac
;; ;;