[oe] [meta-oe][PATCH v2] rabbitmq-c: add recipe

Martin Jansa martin.jansa at gmail.com
Thu Aug 14 08:36:16 UTC 2014


On Thu, Aug 14, 2014 at 09:54:05AM +0200, Maciej Borzecki wrote:
> rabbitmq-c is a C library providing an implementation of AMQP client for
> use with v2.0+ of the RabbitMQ broker
> 
> Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
> Signed-off-by: Maciek Borzecki <maciek.borzecki at gmail.com>
> ---
>  .../recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
> 
> diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
> new file mode 100644
> index 0000000..5a02c99
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
> @@ -0,0 +1,17 @@
> +DESCRIPTION = "A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker"

I did few more modifications when cherry-picking to master-next.

> +HOMEPAGE = "https://github.com/alanxz/rabbitmq-c"
> +LIC_FILES_CHKSUM = "file://${S}/LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53"

Dropped ${S} as LIC_FILES_CHKSUM are by default relative to ${S}

> +LICENSE = "MIT"
> +


> +SRC_URI = "https://github.com/alanxz/rabbitmq-c/releases/download/v${PV}/rabbitmq-c-${PV}.tar.gz"

rabbitmq-c -> ${BPN}
rabbitmq-c-${PV} -> ${BP}

> +SRC_URI[md5sum] = "b1f902c658c772cda464754678d8deb6"
> +SRC_URI[sha256sum] = "53702ea2ab809af0f923e387458e2cad191d9549f50410035fe82ce5e6ccc4fa"
> +
> +DEPENDS = "popt openssl"
> +
> +EXTRA_OECONF = "--disable-examples --enable-tools --disable-docs"
> +
> +inherit autotools pkgconfig
> +
> +PACKAGE_BEFORE_PN += "${PN}-tools"
> +FILES_${PN}-tools = "${bindir}"
> -- 
> 1.9.0
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140814/3bdf0b9e/attachment-0002.sig>


More information about the Openembedded-devel mailing list