23 lines
667 B
Makefile
23 lines
667 B
Makefile
package=native_cmake
|
|
$(package)_version=3.27.6
|
|
$(package)_download_path=https://github.com/Kitware/CMake/releases/download/v$($(package)_version)
|
|
$(package)_file_name=cmake-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=ef3056df528569e0e8956f6cf38806879347ac6de6a4ff7e4105dc4578732cfb
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts += -DCMAKE_BUILD_TYPE:STRING=Release
|
|
$(package)_config_opts += -DCMAKE_USE_OPENSSL:BOOL=OFF
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
./bootstrap --prefix=$($(package)_staging_prefix_dir) -- $($(package)_config_opts)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) cmake
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) install
|
|
endef
|