mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
26 lines
661 B
Makefile
26 lines
661 B
Makefile
package=native_protobuf
|
|
$(package)_version=3.6.1
|
|
$(package)_download_path=https://github.com/google/protobuf/releases/download/v$($(package)_version)
|
|
$(package)_file_name=protobuf-cpp-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=b3732e471a9bb7950f090fd0457ebd2536a9ba0891b7f3785919c654fe2a2529
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared
|
|
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
|