mirror of
https://github.com/dashpay/dash.git
synced 2024-12-30 22:35:51 +01:00
f334f63d3d
19a0c4af0f depends: native_protobuf: avoid system zlib (Carl Dong) Pull request description: I don't believe we use any zlib features in protobufs Tree-SHA512: cd09229f3fac215f58e9ddd4871f190cf2a301e25939aaa1c6ee130d1ba5bbb00d9ebe9ca012a2894bac4c2db923259f34fe43e255ad55ccd2b11ec88afc2a8f
26 lines
673 B
Makefile
26 lines
673 B
Makefile
package=native_protobuf
|
|
$(package)_version=2.6.1
|
|
$(package)_download_path=https://github.com/google/protobuf/releases/download/v$($(package)_version)
|
|
$(package)_file_name=protobuf-$($(package)_version).tar.bz2
|
|
$(package)_sha256_hash=ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --without-zlib
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) -C src protoc
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) -C src DESTDIR=$($(package)_staging_dir) install-strip
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf lib include
|
|
endef
|