diff options
author | Patrick Patat <patrick.patat@innotis.org> | 2013-12-04 15:59:10 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-01-13 09:59:45 +0000 |
commit | a1b6699ad26e1035f5c29918e059b8b57fde57ff (patch) | |
tree | 56ea6818d6f027fc610ab273228cb0b9e1f50b6e /meta-perl | |
parent | eb2e62f58fac5792b453e49c37dfef4fcbe9dbd6 (diff) | |
download | meta-openembedded-contrib-a1b6699ad26e1035f5c29918e059b8b57fde57ff.tar.gz |
add libcrypt-openssl-rsa-perl
This recipe build cpan module Crypt-OpenSSL-RSA
Signed-off-by: Patrick Patat <patrick.patat@innotis.org>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'meta-perl')
-rw-r--r-- | meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb | 24 |
1 files changed, 24 insertions, 0 deletions
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 00000000000..f0c610f3aea --- /dev/null +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb @@ -0,0 +1,24 @@ +SUMMARY = "Crypt Openssl RSA cpan module" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" + +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 += "openssl" + +RDEPENDS_${PN}="libcrypt-openssl-random-perl" + +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 OTHERLDFLAGS='-Wl,-rpath' + cpan_do_compile +} |