termux-packages/packages/cmake/build.sh

12 lines
688 B
Bash
Raw Normal View History

2017-01-07 07:00:39 +01:00
TERMUX_PKG_HOMEPAGE=https://cmake.org/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software"
2017-01-07 07:00:39 +01:00
_MAJOR_VERSION=3.7
2017-01-15 23:07:37 +01:00
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.2
2017-01-07 07:00:39 +01:00
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${_MAJOR_VERSION}/cmake-${TERMUX_PKG_VERSION}.tar.gz
2017-01-15 23:07:37 +01:00
TERMUX_PKG_SHA256=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0
TERMUX_PKG_DEPENDS="libarchive, libcurl, libexpat, jsoncpp, libuv"
2017-01-15 13:48:05 +01:00
TERMUX_PKG_FORCE_CMAKE=yes
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DZLIB_INCLUDE_DIR=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DZLIB_LIBRARY=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libz.so -DKWSYS_LFS_WORKS=ON"
2015-06-13 01:03:31 +02:00