N: Asaf Kahlon <asafka7@gmail.com>
F: package/libuv/
F: package/python*
+F: package/spdlog/
F: package/uftp/
F: package/zeromq/
source "package/log4cpp/Config.in"
source "package/log4cxx/Config.in"
source "package/opentracing-cpp/Config.in"
+ source "package/spdlog/Config.in"
source "package/zlog/Config.in"
endmenu
--- /dev/null
+config BR2_PACKAGE_SPDLOG
+ bool "spdlog"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR # fmt
+ select BR2_PACKAGE_FMT
+ help
+ Very fast, header only, C++ logging library.
+
+ https://github.com/gabime/spdlog
+
+comment "spdlog needs a toolchain w/ C++, wchar"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
--- /dev/null
+# Locally calculated
+sha256 160845266e94db1d4922ef755637f6901266731c4cb3b30b45bf41efa0e6ab70 spdlog-1.3.1.tar.gz
+sha256 7d40b1967fca203d22b0eaf75f54566167ded823863abedf4de869fcea057038 LICENSE
--- /dev/null
+################################################################################
+#
+# spdlog
+#
+################################################################################
+
+SPDLOG_VERSION = 1.3.1
+SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION))
+SPDLOG_LICENSE = MIT
+SPDLOG_LICENSE_FILES = LICENSE
+SPDLOG_DEPENDENCIES = fmt
+SPDLOG_CONF_OPTS += \
+ -DSPDLOG_BUILD_TESTS=OFF \
+ -DSPDLOG_BUILD_EXAMPLES=OFF \
+ -DSPDLOG_BUILD_BENCH=OFF \
+ -DSPDLOG_FMT_EXTERNAL=ON
+
+# Header-only library
+SPDLOG_INSTALL_STAGING = YES
+SPDLOG_INSTALL_TARGET = NO
+
+$(eval $(cmake-package))