blob: 27e2b5ee91516b30cdbeebd60148a022110e55da [file] [log] [blame]
Andrei Belov9e2db3a2020-12-21 18:14:23 +03001# opentracing-cpp
2
3include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/version
4OPENTRACING_CPP_URL := $(GITHUB)/opentracing/opentracing-cpp/archive/v$(OPENTRACING_CPP_VERSION).tar.gz
5
6PKGS += 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
13opentracing-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 Belov4b710082021-03-19 18:52:05 +030020 mkdir -p .build && \
Andrei Belov9e2db3a2020-12-21 18:14:23 +030021 cd .build && \
Andrei Belov3fc4f982021-03-22 11:54:56 +030022 $(CMAKE) ../ && \
Andrei Belov9e2db3a2020-12-21 18:14:23 +030023 DESTDIR=$(PREFIX) make $(_SMP_MFLAGS) install
24 touch $@