mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
29 lines
747 B
Makefile
29 lines
747 B
Makefile
package=native_capnp
|
|
$(package)_version=1.5.0
|
|
$(package)_download_path=https://capnproto.org/
|
|
$(package)_download_file=capnproto-c++-$($(package)_version).tar.gz
|
|
$(package)_file_name=capnproto-cxx-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=77dbc13ca82d9c87ddb4581dd49559d45b63096433d3dadea08b7f31b360a5ba
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts := -DBUILD_TESTING=OFF
|
|
$(package)_config_opts += -DWITH_OPENSSL=OFF
|
|
$(package)_config_opts += -DWITH_ZLIB=OFF
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_cmake) .
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf lib/pkgconfig
|
|
endef
|