cmake: update to 3.18.4

This commit is contained in:
Henrik Grimler 2020-10-17 21:02:48 +02:00
parent d23213df46
commit 9c895bd45f
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://cmake.org/
TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software"
TERMUX_PKG_LICENSE="BSD 3-Clause"
# When updating version here, please update termux_setup_cmake.sh as well.
TERMUX_PKG_VERSION=3.18.3
TERMUX_PKG_VERSION=3.18.4
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${TERMUX_PKG_VERSION:0:4}/cmake-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=2c89f4e30af4914fd6fb5d00f863629812ada848eee4e2d29ec7e456d7fa32e5
TERMUX_PKG_SHA256=597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77
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"

View File

@ -1,6 +1,6 @@
termux_setup_cmake() {
local TERMUX_CMAKE_MAJORVESION=3.18
local TERMUX_CMAKE_MINORVERSION=3
local TERMUX_CMAKE_MINORVERSION=4
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
@ -10,7 +10,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" \
eb23bac95873cc0bc3946eed5d1aea6876ac03f7c0dcc6ad3a05462354b08228
149e0cee002e59e0bb84543cf3cb099f108c08390392605e944daeb6594cbc29
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" \