2019-07-09 14:40:45 -04:00
|
|
|
package=native_capnp
|
2024-12-12 14:14:42 -03:00
|
|
|
$(package)_version=1.0.2
|
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
|
2024-12-12 14:14:42 -03:00
|
|
|
$(package)_sha256_hash=9057dbc0223366b74bbeca33a05de164a229b0377927f1b7ef3828cdd8cb1d7e
|
2023-10-26 09:23:49 -03:00
|
|
|
|
|
|
|
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
|