|
|
@ -164,7 +164,7 @@ termux_setup_meson() { |
|
|
|
# Utility function to setup a current cmake build system |
|
|
|
termux_setup_cmake() { |
|
|
|
local TERMUX_CMAKE_MAJORVESION=3.10 |
|
|
|
local TERMUX_CMAKE_MINORVERSION=1 |
|
|
|
local TERMUX_CMAKE_MINORVERSION=2 |
|
|
|
local TERMUX_CMAKE_VERSION=$TERMUX_CMAKE_MAJORVESION.$TERMUX_CMAKE_MINORVERSION |
|
|
|
local TERMUX_CMAKE_TARNAME=cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64.tar.gz |
|
|
|
local TERMUX_CMAKE_TARFILE=$TERMUX_PKG_TMPDIR/$TERMUX_CMAKE_TARNAME |
|
|
@ -172,7 +172,7 @@ termux_setup_cmake() { |
|
|
|
if [ ! -d "$TERMUX_CMAKE_FOLDER" ]; then |
|
|
|
termux_download https://cmake.org/files/v$TERMUX_CMAKE_MAJORVESION/$TERMUX_CMAKE_TARNAME \ |
|
|
|
"$TERMUX_CMAKE_TARFILE" \ |
|
|
|
f0f84761a254324ed9076c23fca502eb135ec49c0b752212a6298f317d303438 |
|
|
|
7a82b46c35f4e68a0807e8dc04e779dee3f36cd42c6387fd13b5c29fe62a69ea |
|
|
|
rm -Rf "$TERMUX_PKG_TMPDIR/cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64" |
|
|
|
tar xf "$TERMUX_CMAKE_TARFILE" -C "$TERMUX_PKG_TMPDIR" |
|
|
|
mv "$TERMUX_PKG_TMPDIR/cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64" \ |
|
|
|