2020-05-21 09:10:52 +02: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-19 11:22:06 +01:00
|
|
|
$(package)_dependencies=native_$(package) capnp
|
2022-05-04 17:34:44 +02:00
|
|
|
ifneq ($(host),$(build))
|
|
|
|
$(package)_dependencies += native_capnp
|
|
|
|
endif
|
|
|
|
|
|
|
|
define $(package)_set_vars :=
|
|
|
|
ifneq ($(host),$(build))
|
|
|
|
$(package)_cmake_opts := -DCAPNP_EXECUTABLE="$$(native_capnp_prefixbin)/capnp"
|
|
|
|
$(package)_cmake_opts += -DCAPNPC_CXX_EXECUTABLE="$$(native_capnp_prefixbin)/capnpc-c++"
|
|
|
|
endif
|
|
|
|
endef
|
2020-05-21 09:10:52 +02:00
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2022-04-05 10:09:13 +02:00
|
|
|
$($(package)_cmake) .
|
2020-05-21 09:10:52 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|