Browse Source

cmake: Update from 3.14.2 to 3.14.3

emacs-27
Fredrik Fornwall 6 years ago
parent
commit
faf9e0fde5
  1. 5
      packages/cmake/build.sh
  2. 4
      scripts/build/setup/termux_setup_cmake.sh

5
packages/cmake/build.sh

@ -1,9 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://cmake.org/ TERMUX_PKG_HOMEPAGE=https://cmake.org/
TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software" TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software"
TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_VERSION=3.14.2 TERMUX_PKG_VERSION=3.14.3
TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=215d0b64e81307182b29b63e562edf30b3875b834efdad09b3fcb5a7d2f4b632
TERMUX_PKG_SHA256=a3cbf562b99270c0ff192f692139e98c605f292bfdbc04d70da0309a5358e71e
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${TERMUX_PKG_VERSION:0:4}/cmake-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${TERMUX_PKG_VERSION:0:4}/cmake-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libarchive, libcurl, libexpat, jsoncpp, libuv, rhash, make, clang, zlib" TERMUX_PKG_DEPENDS="libarchive, libcurl, libexpat, jsoncpp, libuv, rhash, make, clang, zlib"
TERMUX_PKG_FORCE_CMAKE=yes TERMUX_PKG_FORCE_CMAKE=yes

4
scripts/build/setup/termux_setup_cmake.sh

@ -1,6 +1,6 @@
termux_setup_cmake() { termux_setup_cmake() {
local TERMUX_CMAKE_MAJORVESION=3.14 local TERMUX_CMAKE_MAJORVESION=3.14
local TERMUX_CMAKE_MINORVERSION=2 local TERMUX_CMAKE_MINORVERSION=3
local TERMUX_CMAKE_VERSION=$TERMUX_CMAKE_MAJORVESION.$TERMUX_CMAKE_MINORVERSION 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_TARNAME=cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64.tar.gz
local TERMUX_CMAKE_TARFILE=$TERMUX_PKG_TMPDIR/$TERMUX_CMAKE_TARNAME local TERMUX_CMAKE_TARFILE=$TERMUX_PKG_TMPDIR/$TERMUX_CMAKE_TARNAME
@ -8,7 +8,7 @@ termux_setup_cmake() {
if [ ! -d "$TERMUX_CMAKE_FOLDER" ]; then if [ ! -d "$TERMUX_CMAKE_FOLDER" ]; then
termux_download https://cmake.org/files/v$TERMUX_CMAKE_MAJORVESION/$TERMUX_CMAKE_TARNAME \ termux_download https://cmake.org/files/v$TERMUX_CMAKE_MAJORVESION/$TERMUX_CMAKE_TARNAME \
"$TERMUX_CMAKE_TARFILE" \ "$TERMUX_CMAKE_TARFILE" \
73a2997a7bd212be62d84ba2a4207d7296c3139604d03d79e8800be7c2b0b7e1 29faa62fb3a0b6323caa3d9557e1a5f1205614c0d4c5c2a9917f16a74f7eff68
rm -Rf "$TERMUX_PKG_TMPDIR/cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64" rm -Rf "$TERMUX_PKG_TMPDIR/cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64"
tar xf "$TERMUX_CMAKE_TARFILE" -C "$TERMUX_PKG_TMPDIR" tar xf "$TERMUX_CMAKE_TARFILE" -C "$TERMUX_PKG_TMPDIR"
mv "$TERMUX_PKG_TMPDIR/cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64" \ mv "$TERMUX_PKG_TMPDIR/cmake-${TERMUX_CMAKE_VERSION}-Linux-x86_64" \

Loading…
Cancel
Save