termux-packages/packages/cmake/build.sh

11 lines
605 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
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.1
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${_MAJOR_VERSION}/cmake-${TERMUX_PKG_VERSION}.tar.gz
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