Browse Source

cmake: Update from 3.7.1 to 3.7.2

android-5
Fredrik Fornwall 8 years ago
parent
commit
a55b3fa0cd
  1. 4
      build-package.sh
  2. 3
      packages/cmake/build.sh

4
build-package.sh

@ -82,7 +82,7 @@ termux_setup_golang() {
# Utility function for cmake-built packages to setup a current cmake.
termux_setup_cmake() {
local TERMUX_CMAKE_MAJORVESION=3.7
local TERMUX_CMAKE_MINORVERSION=1
local TERMUX_CMAKE_MINORVERSION=2
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
@ -90,7 +90,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 \
7b4b7a1d9f314f45722899c0521c261e4bfab4a6b532609e37fef391da6bade2
0e6ec35d4fa9bf79800118916b51928b6471d5725ff36f1d0de5ebb34dcd5406
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 \

3
packages/cmake/build.sh

@ -1,8 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://cmake.org/
TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software"
_MAJOR_VERSION=3.7
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.1
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.2
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${_MAJOR_VERSION}/cmake-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0
TERMUX_PKG_DEPENDS="libarchive, libcurl, libexpat, jsoncpp, libuv"
TERMUX_PKG_FORCE_CMAKE=yes
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DZLIB_INCLUDE_DIR=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"

Loading…
Cancel
Save