Merge pull request #7207 from thunder-coding/bump-cmake
Bump cmake to 3.21.1
This commit is contained in:
commit
4e378b37bc
@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package soft
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
# When updating version here, please update termux_setup_cmake.sh as well.
|
||||
TERMUX_PKG_VERSION=3.21.0
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_VERSION=3.21.1
|
||||
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${TERMUX_PKG_VERSION:0:4}/cmake-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab
|
||||
TERMUX_PKG_SHA256=fac3915171d4dff25913975d712f76e69aef44bf738ba7b976793a458b4cfed4
|
||||
TERMUX_PKG_DEPENDS="libarchive, libc++, libcurl, libexpat, jsoncpp, libuv, rhash, make, clang, zlib"
|
||||
TERMUX_PKG_FORCE_CMAKE=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DKWSYS_LFS_WORKS=ON -DBUILD_CursesDialog=ON"
|
||||
|
@ -1,6 +1,6 @@
|
||||
termux_setup_cmake() {
|
||||
local TERMUX_CMAKE_MAJORVESION=3.21
|
||||
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
|
||||
@ -16,7 +16,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" \
|
||||
d54ef6909f519740bc85cec07ff54574cd1e061f9f17357d9ace69f61c6291ce
|
||||
bf496ce869d0aa8c1f57e4d1a2e50c8f2fb12a6cd7ccb37ad743bb88f6b76a1e
|
||||
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" \
|
||||
|
Loading…
Reference in New Issue
Block a user