|
|
@ -91,7 +91,7 @@ termux_setup_golang() { |
|
|
|
# Utility function for cmake-built packages to setup a current cmake. |
|
|
|
termux_setup_cmake() { |
|
|
|
local TERMUX_CMAKE_MAJORVESION=3.8 |
|
|
|
local TERMUX_CMAKE_MINORVERSION=0 |
|
|
|
local TERMUX_CMAKE_MINORVERSION=1 |
|
|
|
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 |
|
|
@ -99,7 +99,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" \ |
|
|
|
330357990d84599f9c1a87f568a724f0fe5de1687c32961dda689d52588a5b24 |
|
|
|
10ca0e25b7159a03da0c1ec627e686562dc2a40aad5985fd2088eb684b08e491 |
|
|
|
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" \ |
|
|
|