termux-packages/packages/cmake/build.sh

25 lines
1.0 KiB
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"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
2020-09-23 22:56:31 +02:00
# When updating version here, please update termux_setup_cmake.sh as well.
2022-02-14 11:52:52 +01:00
TERMUX_PKG_VERSION=3.23.0
2017-12-17 00:26:35 +01:00
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${TERMUX_PKG_VERSION:0:4}/cmake-${TERMUX_PKG_VERSION}.tar.gz
2022-02-14 11:52:52 +01:00
TERMUX_PKG_SHA256=5ab0a12f702f44013be7e19534cd9094d65cc9fe7b2cd0f8c9e5318e0fe4ac82
TERMUX_PKG_DEPENDS="clang, libarchive, libc++, libcurl, libexpat, jsoncpp, liblzma, libnghttp2, libuv, make, rhash, zlib, zstd"
TERMUX_PKG_FORCE_CMAKE=true
2022-02-14 11:52:52 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DCMAKE_USE_SYSTEM_BZIP2=ON
-DCMAKE_USE_SYSTEM_CURL=ON
-DCMAKE_USE_SYSTEM_EXPAT=ON
-DCMAKE_USE_SYSTEM_FORM=ON
-DCMAKE_USE_SYSTEM_JSONCPP=ON
-DCMAKE_USE_SYSTEM_LIBARCHIVE=ON
-DCMAKE_USE_SYSTEM_LIBLZMA=ON
-DCMAKE_USE_SYSTEM_LIBRHASH=ON
-DCMAKE_USE_SYSTEM_LIBUV=ON
-DCMAKE_USE_SYSTEM_NGHTTP2=ON
-DCMAKE_USE_SYSTEM_ZLIB=ON
-DCMAKE_USE_SYSTEM_ZSTD=ON
-DBUILD_CursesDialog=ON"