Andrei Belov | 9e2db3a | 2020-12-21 18:14:23 +0300 | [diff] [blame] | 1 | # opentracing-cpp |
| 2 | |
| 3 | include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/version |
| 4 | OPENTRACING_CPP_URL := $(GITHUB)/opentracing/opentracing-cpp/archive/v$(OPENTRACING_CPP_VERSION).tar.gz |
| 5 | |
| 6 | PKGS += opentracing-cpp |
| 7 | |
| 8 | $(TARBALLS)/opentracing-cpp-$(OPENTRACING_CPP_VERSION).tar.gz: |
| 9 | $(call download_pkg,$(OPENTRACING_CPP_URL),opentracing-cpp) |
| 10 | |
| 11 | .sum-opentracing-cpp: opentracing-cpp-$(OPENTRACING_CPP_VERSION).tar.gz |
| 12 | |
| 13 | opentracing-cpp: opentracing-cpp-$(OPENTRACING_CPP_VERSION).tar.gz .sum-opentracing-cpp |
| 14 | $(UNPACK) |
| 15 | $(APPLY) $(SRC)/opentracing-cpp/CMakeLists.txt.patch |
| 16 | $(MOVE) |
| 17 | |
| 18 | .opentracing-cpp: opentracing-cpp |
| 19 | cd $< && \ |
Andrei Belov | 4b71008 | 2021-03-19 18:52:05 +0300 | [diff] [blame] | 20 | mkdir -p .build && \ |
Andrei Belov | 9e2db3a | 2020-12-21 18:14:23 +0300 | [diff] [blame] | 21 | cd .build && \ |
Andrei Belov | 3fc4f98 | 2021-03-22 11:54:56 +0300 | [diff] [blame] | 22 | $(CMAKE) ../ && \ |
Andrei Belov | 9e2db3a | 2020-12-21 18:14:23 +0300 | [diff] [blame] | 23 | DESTDIR=$(PREFIX) make $(_SMP_MFLAGS) install |
| 24 | touch $@ |