| 1 |
package=abseil |
| 2 |
$(package)_version=$(native_$(package)_version) |
| 3 |
$(package)_download_path=$(native_$(package)_download_path) |
| 4 |
$(package)_download_file=$(native_$(package)_download_file) |
| 5 |
$(package)_file_name=$(native_$(package)_file_name) |
| 6 |
$(package)_sha256_hash=$(native_$(package)_sha256_hash) |
| 7 |
$(package)_patches=no_librt.patch |
| 8 |
|
| 9 |
define $(package)_set_vars |
| 10 |
$(package)_cxxflags+=-std=c++17 |
| 11 |
endef |
| 12 |
|
| 13 |
define $(package)_preprocess_cmds |
| 14 |
patch -p1 -i $($(package)_patch_dir)/no_librt.patch && \ |
| 15 |
rm -rf absl/time/internal/cctz/testdata |
| 16 |
endef |
| 17 |
|
| 18 |
define $(package)_config_cmds |
| 19 |
$($(package)_cmake) |
| 20 |
endef |
| 21 |
|
| 22 |
define $(package)_build_cmds |
| 23 |
$(MAKE) |
| 24 |
endef |
| 25 |
|
| 26 |
define $(package)_stage_cmds |
| 27 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 28 |
endef |