2021-03-26 13:32:31 +01:00
|
|
|
package=cmake
|
2022-02-15 16:12:11 +01:00
|
|
|
$(package)_version=3.22.2
|
|
|
|
$(package)_download_path=https://cmake.org/files/v3.22/
|
2021-03-26 13:32:31 +01:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
2022-02-15 16:12:11 +01:00
|
|
|
$(package)_sha256_hash=3c1c478b9650b107d452c5bd545c72e2fad4e37c09b89a1984b9a2f46df6aced
|
2021-03-26 13:32:31 +01:00
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2021-11-29 06:38:03 +01:00
|
|
|
export CC="" && \
|
|
|
|
export CXX="" && \
|
2022-02-15 16:12:11 +01:00
|
|
|
./bootstrap --prefix=$(host_prefix) -- -DCMAKE_USE_OPENSSL=OFF
|
2021-03-26 13:32:31 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|