Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/rapidcheck.mk
package=rapidcheck | package=rapidcheck | ||||
$(package)_version=3eb9b4ff69f4ff2d9932e8f852c2b2a61d7c20d3 | $(package)_version=d9482c683429fe79122e3dcab14c9655874aeb8e | ||||
$(package)_download_path=https://github.com/emil-e/rapidcheck/archive | $(package)_download_path=https://github.com/emil-e/rapidcheck/archive | ||||
$(package)_file_name=$($(package)_version).tar.gz | $(package)_file_name=$($(package)_version).tar.gz | ||||
$(package)_sha256_hash=5fbf82755c9a647127e62563be079448ff8b1db9ca80a52a673dd9a88fdb714b | $(package)_sha256_hash=b9ee8955b175fd3c0757ebd887bb075541761af08b0c28391b7c6c0685351f6b | ||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
cmake -DCMAKE_INSTALL_PREFIX=$($(package)_staging_dir)$(host_prefix) -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -DRC_INSTALL_ALL_EXTRAS=ON | cmake -DCMAKE_INSTALL_PREFIX=$($(package)_staging_dir)$(host_prefix) -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -DRC_ENABLE_BOOST_TEST=ON -B . | ||||
endef | endef | ||||
define $(package)_preprocess_cmds | define $(package)_preprocess_cmds | ||||
sed -i.old 's/ -Wall//' CMakeLists.txt | sed -i.old 's/ -Wall//' CMakeLists.txt | ||||
endef | endef | ||||
define $(package)_build_cmds | define $(package)_build_cmds | ||||
$(MAKE) -j$(JOBS) rapidcheck | $(MAKE) -j$(JOBS) rapidcheck | ||||
endef | endef | ||||
define $(package)_stage_cmds | define $(package)_stage_cmds | ||||
$(MAKE) rapidcheck install | $(MAKE) rapidcheck install | ||||
endef | endef |