|
|
@ -187,7 +187,7 @@ termux_setup_meson() { |
|
|
|
# Utility function to setup a current cmake build system |
|
|
|
termux_setup_cmake() { |
|
|
|
local TERMUX_CMAKE_MAJORVESION=3.12 |
|
|
|
local TERMUX_CMAKE_MINORVERSION=2 |
|
|
|
local TERMUX_CMAKE_MINORVERSION=3 |
|
|
|
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 |
|
|
@ -195,7 +195,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" \ |
|
|
|
5bd6e37590b929e26e67fbbff1278e77858ab40430f103ea20a9928435e64662 |
|
|
|
0210f500c71af0ee7e8c42da76954298144d5f72f725ea381ae5db7b766b000e |
|
|
|
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" \ |
|
|
|