Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-perl][PATCH] add libcrypt-openssl-rsa-perl
Date: Wed, 04 Dec 2013 12:15:03 +0100	[thread overview]
Message-ID: <l7n2ol$u75$1@ger.gmane.org> (raw)
In-Reply-To: <1386154747-14820-1-git-send-email-patrick.patat@innotis.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Patat schreef op 04-12-13 11:59:
> This recipe build cpan module Crypt-OpenSSL-RSA
> 
> Signed-off-by: Patrick Patat <patrick.patat@innotis.org> --- 
> .../libcrypt/libcrypt-openssl-rsa-perl_0.28.bb     |   23
> ++++++++++++++++++++

> 1 file changed, 23 insertions(+) create mode 100644
> meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
> 
> diff --git
> a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
> b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb new
> file mode 100644 index 0000000..3d902a3 --- /dev/null +++
> b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb @@
> -0,0 +1,23 @@ +SUMMARY = "Collection of Perl modules for working with
> shairport."

I don't think that's the correct summary.

> +SECTION = "libs" +LICENSE = "MIT" +LIC_FILES_CHKSUM =
> "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
>
> 
+
> +SRC_URI =
> "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz
> " + +SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129" 
> +SRC_URI[sha256sum] =
> "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be" + 
> +DEPENDS += "perl openssl"

'perl' should already be added by cpan.bbclass.

> + +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR}
> -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" + +S =
> "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}" + +inherit cpan + +do_compile() { +
> export LIBC="$(find ${STAGING_DIR_TARGET}${base_libdir}/ -name
> 'libc-*.so')" +	export OTHERLDFLAGS='-Wl,-rpath' +
> cpan_do_compile +}

http://deps.cpantesters.org/?module=Crypt%3A%3AOpenSSL%3A%3ARSA;perl=latest
reports a dependency on openssl::random, so you probably need an
RDEPENDS_${PN} for that.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFSnw63MkyGM64RGpERAuWfAJ0XUBxSe4MnayKTfGJVUNlaWEoDrQCggTM3
LMPrOwaSjEy3jvF67JCYpi8=
=cy5N
-----END PGP SIGNATURE-----



  reply	other threads:[~2013-12-04 11:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 10:59 [meta-perl][PATCH] add libcrypt-openssl-rsa-perl Patrick Patat
2013-12-04 11:15 ` Koen Kooi [this message]
2013-12-04 11:28 ` Roman Khimov
2013-12-04 13:21   ` patrick patat
2013-12-04 13:05 ` Olof Johansson

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='l7n2ol$u75$1@ger.gmane.org' \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /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