Skip to content

Commit

Permalink
depends: Build native_capnp package with CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Nov 13, 2023
1 parent 2cdb2f8 commit d1604d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion depends/packages/libmultiprocess.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ define $(package)_config_cmds
endef

define $(package)_build_cmds
$(MAKE)
$(MAKE) multiprocess
endef

define $(package)_stage_cmds
Expand Down
10 changes: 8 additions & 2 deletions depends/packages/native_capnp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ $(package)_file_name=capnproto-cxx-$($(package)_version).tar.gz
$(package)_sha256_hash=0f7f4b8a76a2cdb284fddef20de8306450df6dd031a47a15ac95bc43c3358e09

define $(package)_set_vars
$(package)_config_opts = --without-openssl
$(package)_config_opts := -DBUILD_TESTING=OFF
$(package)_config_opts += -DWITH_OPENSSL=OFF
$(package)_config_opts += -DWITH_ZLIB=OFF
endef

define $(package)_config_cmds
$($(package)_autoconf)
$($(package)_cmake) .
endef

define $(package)_build_cmds
Expand All @@ -20,3 +22,7 @@ endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef

define $(package)_postprocess_cmds
rm -rf lib/pkgconfig
endef

0 comments on commit d1604d4

Please sign in to comment.