From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] riemann-c-client: new package
Date: Wed, 28 Dec 2016 23:18:05 +0100 [thread overview]
Message-ID: <20161228221806.32321-1-peter@korsgaard.com> (raw)
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>
---
package/Config.in | 1 +
package/riemann-c-client/Config.in | 17 +++++++++++++++++
package/riemann-c-client/riemann-c-client.hash | 2 ++
package/riemann-c-client/riemann-c-client.mk | 18 ++++++++++++++++++
4 files changed, 38 insertions(+)
create mode 100644 package/riemann-c-client/Config.in
create mode 100644 package/riemann-c-client/riemann-c-client.hash
create mode 100644 package/riemann-c-client/riemann-c-client.mk
diff --git a/package/Config.in b/package/Config.in
index 18818fa..717b505 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1365,6 +1365,7 @@ endif
source "package/protobuf-c/Config.in"
source "package/qhull/Config.in"
source "package/qlibc/Config.in"
+ source "package/riemann-c-client/Config.in"
source "package/shapelib/Config.in"
source "package/skalibs/Config.in"
source "package/sphinxbase/Config.in"
diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in
new file mode 100644
index 0000000..e9982b2
--- /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 0000000..0902881
--- /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 0000000..027898b
--- /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))
--
2.10.2
next reply other threads:[~2016-12-28 22:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-28 22:18 Peter Korsgaard [this message]
2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
2016-12-28 22:21 ` Thomas Petazzoni
2016-12-28 23:15 ` Peter Korsgaard
2017-01-03 18:57 ` Gustavo Zacarias
2017-01-03 22:49 ` Peter Korsgaard
2017-01-03 18:57 ` [Buildroot] [PATCH 1/2] riemann-c-client: new package Gustavo Zacarias
2017-01-03 22:49 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161228221806.32321-1-peter@korsgaard.com \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox