[oe] [meta-oe][PATCH] rabbitmq-c: add recipe
Maciej Borzecki
maciej.borzecki at open-rnd.pl
Tue Aug 12 12:05:05 UTC 2014
On Tuesday 12 of August 2014 13:45:38 Martin Jansa wrote:
> On Mon, Aug 11, 2014 at 04:33:56PM +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>
> > ---
> >
> > .../rabbitmq-c/rabbitmq-c_0.5.0.bb | 22
> > ++++++++++++++++++++++ 1 file changed, 22 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..d8e3189
> > --- /dev/null
> > +++ b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
> > @@ -0,0 +1,22 @@
> > +DESCRIPTION = "A C-language AMQP client library for use with v2.0+ of the
> > RabbitMQ broker" +HOMEPAGE = "https://github.com/alanxz/rabbitmq-c"
> > +LIC_FILES_CHKSUM =
> > "file://${S}/LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53" +LICENSE =
> > "MIT"
> > +
> > +SRC_URI =
> > "https://github.com/alanxz/rabbitmq-c/releases/download/v${PV}/rabbitmq-c
> > -${PV}.tar.gz" +SRC_URI[md5sum] = "b1f902c658c772cda464754678d8deb6"
> > +SRC_URI[sha256sum] =
> > "53702ea2ab809af0f923e387458e2cad191d9549f50410035fe82ce5e6ccc4fa" +
> > +PR = "r0"
>
> ^ dropped when cherry-picking to master-next
>
> > +
> > +S = "${WORKDIR}/rabbitmq-c-${PV}"
>
> ^ dropped when cherry-picking to master-next
>
> > +
> > +EXTRA_OECONF = "--disable-examples --enable-tools"
> > +
> > +inherit autotools pkgconfig
> > +
> > +PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-tools ${PN}"
>
> Why are you dropping -doc, -staticdev, -locale and other default
> packages?
>
> PACKAGE_BEFORE_PN += "${PN}-tools"
Right, this should do the trick. The -doc, -staticdev, -locale are empty
anyway, but it does make more sense not to remove them from PACKAGES.
I can post an updated patch if that's needed.
>
> should be enough, will do in master-next, but please ack
>
> > +
> > +DEPENDS = "popt openssl"
> > +
> > +FILES_${PN}-tools = "${bindir}"
> > \ No newline at end of file
--
Maciej Borzęcki
Senior Software Engineer Open-RnD Sp. z o.o.
www.open-rnd.pl, Facebook, Twitter
mobile: +48 telefon, fax: +48 42 657 9079
Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub
poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do
których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo
zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku
uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie
nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.
This message, including any attachments hereto, may contain privileged or
confidential information and is sent solely for the attention and use of the
intended addressee(s). If you are not an intended addressee, you may neither
use this message nor copy or deliver it to anyone. In such case, you should
immediately destroy this message and kindly notify the sender by reply email.
Thank you.
More information about the Openembedded-devel
mailing list