2019-07-09 14:40:45 -04:00
|
|
|
package=native_capnp
|
2023-10-26 09:23:49 -03:00
|
|
|
$(package)_version=1.0.1
|
2019-07-09 14:40:45 -04:00
|
|
|
$(package)_download_path=https://capnproto.org/
|
|
|
|
$(package)_download_file=capnproto-c++-$($(package)_version).tar.gz
|
|
|
|
$(package)_file_name=capnproto-cxx-$($(package)_version).tar.gz
|
2023-10-26 09:23:49 -03:00
|
|
|
$(package)_sha256_hash=0f7f4b8a76a2cdb284fddef20de8306450df6dd031a47a15ac95bc43c3358e09
|
|
|
|
|
|
|
|
define $(package)_set_vars
|
2023-11-13 11:35:52 -03:00
|
|
|
$(package)_config_opts := -DBUILD_TESTING=OFF
|
|
|
|
$(package)_config_opts += -DWITH_OPENSSL=OFF
|
|
|
|
$(package)_config_opts += -DWITH_ZLIB=OFF
|
2023-10-26 09:23:49 -03:00
|
|
|
endef
|
2019-07-09 14:40:45 -04:00
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2023-11-13 11:35:52 -03:00
|
|
|
$($(package)_cmake) .
|
2019-07-09 14:40:45 -04:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
2023-11-13 11:35:52 -03:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm -rf lib/pkgconfig
|
|
|
|
endef
|