Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] rabbitmq-c:new package
Date: Mon, 16 Nov 2015 08:19:26 +0100	[thread overview]
Message-ID: <5649837E.1040609@mind.be> (raw)
In-Reply-To: <1447412958-25453-1-git-send-email-joris.lijssens@gmail.com>

 Hi Joris,

On 13-11-15 12:09, Joris Lijssens wrote:
> Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
> ---
>  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
> 
> diff --git a/package/Config.in b/package/Config.in
> index 0a80afb..7092be4 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/rabbitmq-c/Config.in b/package/rabbitmq-c/Config.in
> new file mode 100644
> index 0000000..55ce93d
> --- /dev/null
> +++ b/package/rabbitmq-c/Config.in
> @@ -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.

> +	  https://github.com/alanxz/rabbitmq-c
> diff --git a/package/rabbitmq-c/rabbitmq-c.hash b/package/rabbitmq-c/rabbitmq-c.hash
> new file mode 100644
> index 0000000..9f7d071
> --- /dev/null
> +++ b/package/rabbitmq-c/rabbitmq-c.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 0b9b81d05b3e629c3449521690de400fe4539a8ba1feacadcbd6e9a50c8a4625 rabbitmq-c-v0.7.1.tar.gz
> diff --git a/package/rabbitmq-c/rabbitmq-c.mk b/package/rabbitmq-c/rabbitmq-c.mk
> new file mode 100644
> index 0000000..cd81ddf
> --- /dev/null
> +++ b/package/rabbitmq-c/rabbitmq-c.mk
> @@ -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.

> +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


> +
> +$(eval $(cmake-package))
> 


-- 
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

  reply	other threads:[~2015-11-16  7:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 11:09 [Buildroot] [PATCH 1/1] rabbitmq-c:new package Joris Lijssens
2015-11-16  7:19 ` Arnout Vandecappelle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-18 10:42 Joris Lijssens
2015-12-17 20:50 ` Thomas Petazzoni

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=5649837E.1040609@mind.be \
    --to=arnout@mind.be \
    --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