2019-07-09 14:40:45 -04:00
|
|
|
package=libmultiprocess
|
|
|
|
$(package)_version=$(native_$(package)_version)
|
|
|
|
$(package)_download_path=$(native_$(package)_download_path)
|
|
|
|
$(package)_file_name=$(native_$(package)_file_name)
|
|
|
|
$(package)_sha256_hash=$(native_$(package)_sha256_hash)
|
2022-02-18 12:13:09 -03:00
|
|
|
$(package)_dependencies=native_$(package) capnp
|
2022-04-30 17:12:09 -04:00
|
|
|
ifneq ($(host),$(build))
|
|
|
|
$(package)_dependencies += native_capnp
|
|
|
|
endif
|
|
|
|
|
|
|
|
define $(package)_set_vars :=
|
|
|
|
ifneq ($(host),$(build))
|
2023-04-19 17:15:57 -04:00
|
|
|
$(package)_config_opts := -DCAPNP_EXECUTABLE="$$(native_capnp_prefixbin)/capnp"
|
|
|
|
$(package)_config_opts += -DCAPNPC_CXX_EXECUTABLE="$$(native_capnp_prefixbin)/capnpc-c++"
|
2022-04-30 17:12:09 -04:00
|
|
|
endif
|
|
|
|
endef
|
2019-07-09 14:40:45 -04:00
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2022-04-04 05:21:01 -04:00
|
|
|
$($(package)_cmake) .
|
2019-07-09 14:40:45 -04:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
2022-12-09 11:29:19 -03:00
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install-lib
|
2019-07-09 14:40:45 -04:00
|
|
|
endef
|