rabbitmq-c:new package
PATCH 1/1 rabbitmq-c:new package
--- package/Config.in | 1 + package/rabbitmq-c/Config.in | 9 +++++++++ package/rabbitmq-c/rabbitmq-c.hash | 2 ++ package/rabbitmq-c/rabbitmq-c.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/rabbitmq-c/Config.in create mode 100644 package/rabbitmq-c/rabbitmq-c.hash create mode 100644 package/rabbitmq-c/rabbitmq-c.mk
package/Config.in +1 -0
@@ -1058,6 +1058,7 @@ menu "Networking" source "package/ortp/Config.in" source "package/qdecoder/Config.in" source "package/qpid-proton/Config.in" + source "package/rabbitmq-c/Config.in" source "package/rtmpdump/Config.in" source "package/slirp/Config.in" source "package/snmppp/Config.in"
package/rabbitmq-c/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_RABBITMQ_C + bool "rabbitmq-c" + select BR2_PACKAGE_OPENSSL + help + This is a C-language AMQP client library for use with v2.0+ of + the RabbitMQ broker. + + + https://github.com/alanxz/rabbitmq-c
package/rabbitmq-c/rabbitmq-c.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 0b9b81d05b3e629c3449521690de400fe4539a8ba1feacadcbd6e9a50c8a4625 rabbitmq-c-v0.7.1.tar.gz
package/rabbitmq-c/rabbitmq-c.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# rabbitmq-c +# +################################################################################ + +RABBITMQ_C_VERSION = v0.7.1 +RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,$(RABBITMQ_C_VERSION)) +RABBITMQ_C_LICENSE = MIT +RABBITMQ_C_LICENSE_FILES = LICENSE-MIT +RABBITMQ_C_INSTALL_STAGING = YES +RABBITMQ_C_DEPENDENCIES = openssl + +$(eval $(cmake-package))
Signature · 1 line
1.8.3.1
PATCH 1/1 rabbitmq-c:new package
Hi Joris,
Quoted 29 lines · Joris Lijssens
Signed-off-by Joris Lijssens <[email protected]>--- package/Config.in | 1 + package/rabbitmq-c/Config.in | 9 +++++++++ package/rabbitmq-c/rabbitmq-c.hash | 2 ++ package/rabbitmq-c/rabbitmq-c.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/rabbitmq-c/Config.in create mode 100644 package/rabbitmq-c/rabbitmq-c.hash create mode 100644 package/rabbitmq-c/rabbitmq-c.mkpackage/Config.in +1
-0@@ -1058,6 +1058,7 @@ menu "Networking" source "package/ortp/Config.in" source "package/qdecoder/Config.in" source "package/qpid-proton/Config.in" + source "package/rabbitmq-c/Config.in" source "package/rtmpdump/Config.in" source "package/slirp/Config.in" source "package/snmppp/Config.in"package/rabbitmq-c/Config.in new file +0
-0
package/rabbitmq-c/Config.in line 8
Quoted 8 lines
package/rabbitmq-c/Config.in new file +8
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_RABBITMQ_C + bool "rabbitmq-c" + select BR2_PACKAGE_OPENSSL + help + This is a C-language AMQP client library for use with v2.0+ of + the RabbitMQ broker. + +
Redundant empty line.
Quoted 15 lines
package/rabbitmq-c/Config.in new file +1
-0+ https://github.com/alanxz/rabbitmq-cpackage/rabbitmq-c/rabbitmq-c.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally calculated +sha256 0b9b81d05b3e629c3449521690de400fe4539a8ba1feacadcbd6e9a50c8a4625 rabbitmq-c-v0.7.1.tar.gzpackage/rabbitmq-c/rabbitmq-c.mk new file +0
-0
package/rabbitmq-c/rabbitmq-c.mk line 8
Quoted 8 lines
package/rabbitmq-c/rabbitmq-c.mk new file +8
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# rabbitmq-c +# +################################################################################ + +RABBITMQ_C_VERSION = v0.7.1 +RABBITMQ_C_SITE = $(call github,alanxz,rabbitmq-c,$(RABBITMQ_C_VERSION))
I believe that there is a maintainer upload:
https://github.com/alanxz/rabbitmq-c/releases/download/v0.7.1/rabbitmq-c-0.7.1.tar.gz
We prefer to use that one.
package/rabbitmq-c/rabbitmq-c.mk line 12
Quoted 4 lines
package/rabbitmq-c/rabbitmq-c.mk new file +4
-0+RABBITMQ_C_LICENSE = MIT +RABBITMQ_C_LICENSE_FILES = LICENSE-MIT +RABBITMQ_C_INSTALL_STAGING = YES +RABBITMQ_C_DEPENDENCIES = openssl
I would add -DDO_DOCS=OFF -DBUILD_API_DOCS to _CONF_OPTS otherwise doxygen will
be called when it exists on the host (needlessly increasing build time).
The tools are only built when the popt library is found. I don't know how large
and how useful the tools are, but we probably want a config option to enable them and then add popt to dependencies and -DBUILD_TOOLS=ON to _CONF_OPTS.
It looks like openssl is optional (at least there is a cmake option
-DENABLE_SSL_SUPPORT=OFF to disable it).
Regards,
Arnout
Quoted 3 lines
package/rabbitmq-c/rabbitmq-c.mk new file +2
-0+ +$(eval $(cmake-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF