mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 20:36:31 +02:00
f0fc4064a0
Further speedups to icu compilation, it is faster to run the pre-generated configure scripts. Ensure that the native protobuf installation only generates the required libraries and binaries. Disable qt compilation when running travis on windows. Qt is used for lrelease, the travis recipe instead usese the a local installation of lrelease. Remove various packages and options from the travis recipe. Update Readline to version 8.0. The previously used url 404'd sometimes, use the official gnu ftp server instead. Remove unused cmake config.
28 lines
752 B
Makefile
28 lines
752 B
Makefile
package=protobuf3
|
|
$(package)_version=3.6.1
|
|
$(package)_download_path=https://github.com/protocolbuffers/protobuf/releases/download/v$($(package)_version)/
|
|
$(package)_file_name=protobuf-cpp-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=b3732e471a9bb7950f090fd0457ebd2536a9ba0891b7f3785919c654fe2a2529
|
|
$(package)_cxxflags=-std=c++11
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --prefix=$(build_prefix)
|
|
$(package)_config_opts_linux=--with-pic
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) -C src
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) -C src install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm lib/libprotoc.a
|
|
endef
|