mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
18
package/opentracing-cpp/Config.in
Normal file
18
package/opentracing-cpp/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_OPENTRACING_CPP
|
||||
bool "opentracing-cpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
|
||||
help
|
||||
OpenTracing API for C++
|
||||
|
||||
http://opentracing.io
|
||||
|
||||
comment "opentracing-cpp needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
|
||||
comment "opentracing-cpp needs exception_ptr"
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
3
package/opentracing-cpp/opentracing-cpp.hash
Normal file
3
package/opentracing-cpp/opentracing-cpp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 015c4187f7a6426a2b5196f0ccd982aa87f010cf61f507ae3ce5c90523f92301 opentracing-cpp-1.5.1.tar.gz
|
||||
sha256 076d03156735d5ff2df2ea0f8b12351ef65e5e9222b5c8c6a35101dadb41e717 LICENSE
|
||||
25
package/opentracing-cpp/opentracing-cpp.mk
Normal file
25
package/opentracing-cpp/opentracing-cpp.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# opentracing-cpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENTRACING_CPP_VERSION = 1.5.1
|
||||
OPENTRACING_CPP_SITE = $(call github,opentracing,opentracing-cpp,v$(OPENTRACING_CPP_VERSION))
|
||||
OPENTRACING_CPP_LICENSE = Apache-2.0
|
||||
OPENTRACING_CPP_LICENSE_FILES = LICENSE
|
||||
|
||||
OPENTRACING_CPP_INSTALL_STAGING = YES
|
||||
|
||||
# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
|
||||
# although BUILD_STATIC_LIBS=ON is default, make it explicit,
|
||||
# cmake and static/shared libs is confusing enough already.
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
|
||||
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||
OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
|
||||
else ifeq ($(BR2_SHARED_LIBS),y)
|
||||
OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user