aboutsummaryrefslogtreecommitdiff
path: root/package/riemann-c-client
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2016-12-28 23:18:05 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-01-03 23:48:56 +0100
commit8d68b3b957f470ce3a9a6ba4ba0dff03d8317895 (patch)
treed7432d2749a6244dd99c39d08fe6dd7204170ae6 /package/riemann-c-client
parentc929c53f92f3e24210d9a6749ac5fac3d22e4e01 (diff)
downloadbuildroot-8d68b3b957f470ce3a9a6ba4ba0dff03d8317895.tar.gz
buildroot-8d68b3b957f470ce3a9a6ba4ba0dff03d8317895.tar.bz2
riemann-c-client: new package
Riemann-c-client is a C client library for the Riemann monitoring system, providing a convenient and simple API, high test coverage and a copyleft license, along with API and ABI stability. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/riemann-c-client')
-rw-r--r--package/riemann-c-client/Config.in17
-rw-r--r--package/riemann-c-client/riemann-c-client.hash2
-rw-r--r--package/riemann-c-client/riemann-c-client.mk18
3 files changed, 37 insertions, 0 deletions
diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in
new file mode 100644
index 0000000000..e9982b2fb0
--- /dev/null
+++ b/package/riemann-c-client/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_RIEMANN_C_CLIENT
+ bool "riemann-c-client"
+ depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
+ depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
+ select BR2_PACKAGE_PROTOBUF_C
+ help
+ Riemann-c-client is a C client library for the Riemann
+ monitoring system, providing a convenient and simple API,
+ high test coverage and a copyleft license, along with API
+ and ABI stability.
+
+ https://github.com/algernon/riemann-c-client
+
+comment "riemann-c-client needs a toolchain w/ C++, threads"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
diff --git a/package/riemann-c-client/riemann-c-client.hash b/package/riemann-c-client/riemann-c-client.hash
new file mode 100644
index 0000000000..090288156c
--- /dev/null
+++ b/package/riemann-c-client/riemann-c-client.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 4b18804f489834fa953f4af887290173c745b471a5993bb108a9142c867de457 riemann-c-client-1.9.1.tar.xz
diff --git a/package/riemann-c-client/riemann-c-client.mk b/package/riemann-c-client/riemann-c-client.mk
new file mode 100644
index 0000000000..027898be06
--- /dev/null
+++ b/package/riemann-c-client/riemann-c-client.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# riemann-c-client
+#
+################################################################################
+
+RIEMANN_C_CLIENT_VERSION = 1.9.1
+RIEMANN_C_CLIENT_SOURCE = riemann-c-client-$(RIEMANN_C_CLIENT_VERSION).tar.xz
+RIEMANN_C_CLIENT_SITE = https://github.com/algernon/riemann-c-client/releases/download/riemann-c-client-$(RIEMANN_C_CLIENT_VERSION)
+RIEMANN_C_CLIENT_LICENSE = LGPLv3+
+RIEMANN_C_CLIENT_LICENSE_FILES = LICENSE
+RIEMANN_C_CLIENT_INSTALL_STAGING = YES
+RIEMANN_C_CLIENT_DEPENDENCIES = \
+ host-pkgconf protobuf-c \
+ $(if $(BR2_PACKAGE_GNUTLS),gnutls) \
+ $(if $(BR2_PACKAGE_JSON_C),json-c)
+
+$(eval $(autotools-package))