Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/rapidcheck.mk
package=rapidcheck | package=rapidcheck | ||||
$(package)_version=10fc0cb | $(package)_version=3eb9b4ff69f4ff2d9932e8f852c2b2a61d7c20d3 | ||||
$(package)_download_path=https://github.com/MarcoFalke/rapidcheck/archive | $(package)_download_path=https://github.com/emil-e/rapidcheck/archive | ||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz | $(package)_file_name=$($(package)_version).tar.gz | ||||
$(package)_sha256_hash=9640926223c00af45bce4c7df8b756b5458a89b2ba74cfe3e404467f13ce26df | $(package)_sha256_hash=5fbf82755c9a647127e62563be079448ff8b1db9ca80a52a673dd9a88fdb714b | ||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
cmake -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true . | cmake -DCMAKE_INSTALL_PREFIX=$($(package)_staging_dir)$(host_prefix) -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -DRC_INSTALL_ALL_EXTRAS=ON | ||||
endef | endef | ||||
define $(package)_build_cmds | define $(package)_build_cmds | ||||
$(MAKE) -j$(JOBS) && \ | $(MAKE) -j$(JOBS) rapidcheck | ||||
mkdir -p $($(package)_staging_dir)$(host_prefix)/include && \ | endef | ||||
cp -a include/* $($(package)_staging_dir)$(host_prefix)/include/ && \ | |||||
cp -a extras/boost_test/include/rapidcheck/* $($(package)_staging_dir)$(host_prefix)/include/rapidcheck/ && \ | define $(package)_stage_cmds | ||||
mkdir -p $($(package)_staging_dir)$(host_prefix)/lib && \ | $(MAKE) rapidcheck install | ||||
cp -a librapidcheck.a $($(package)_staging_dir)$(host_prefix)/lib/ | |||||
endef | endef |