blob: 7c645327da47b7b962943555186f5b899b66ea87 [file] [log] [blame]
# opentracing-cpp
include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/version
OPENTRACING_CPP_URL := $(GITHUB)/opentracing/opentracing-cpp/archive/v$(OPENTRACING_CPP_VERSION).tar.gz
PKGS += opentracing-cpp
$(TARBALLS)/opentracing-cpp-$(OPENTRACING_CPP_VERSION).tar.gz:
$(call download_pkg,$(OPENTRACING_CPP_URL),opentracing-cpp)
.sum-opentracing-cpp: opentracing-cpp-$(OPENTRACING_CPP_VERSION).tar.gz
opentracing-cpp: opentracing-cpp-$(OPENTRACING_CPP_VERSION).tar.gz .sum-opentracing-cpp
$(UNPACK)
$(APPLY) $(SRC)/opentracing-cpp/CMakeLists.txt.patch
$(MOVE)
.opentracing-cpp: opentracing-cpp
cd $< && \
mkdir -p .build && \
cd .build && \
cmake ../ && \
DESTDIR=$(PREFIX) make $(_SMP_MFLAGS) install
touch $@