]> Git Repo - VerusCoin.git/blob - depends/packages/googlemock.mk
Auto merge of #1569 - str4d:1552-disable-wallet-encryption, r=daira
[VerusCoin.git] / depends / packages / googlemock.mk
1 # url=https://github.com/google/googlemock/archive/release-1.7.0.tar.gz
2
3 package=googlemock
4 $(package)_version=1.7.0
5 $(package)_dependencies=googletest
6
7 $(package)_download_path=https://github.com/google/$(package)/archive/
8 $(package)_file_name=$(package)-$($(package)_version).tar.gz
9 $(package)_download_file=release-$($(package)_version).tar.gz
10 $(package)_sha256_hash=3f20b6acb37e5a98e8c4518165711e3e35d47deb6cdb5a4dd4566563b5efd232
11
12 define $(package)_build_cmds
13   $(MAKE) -C make GTEST_DIR='$(host_prefix)' CXXFLAGS='-fPIC' gmock-all.o
14 endef
15
16
17 define $(package)_stage_cmds
18   install -D ./make/gmock-all.o $($(package)_staging_dir)$(host_prefix)/lib/libgmock.a && \
19   cp -a ./include $($(package)_staging_dir)$(host_prefix)/include
20 endef
This page took 0.024102 seconds and 4 git commands to generate.