From: Mingli Yu <[email protected]> * Add new recipe net-ssleay-perl as io-socket-ssl-perl rdepends on net-ssleay-perl
Signed-off-by: Mingli Yu <[email protected]> --- meta/recipes-devtools/perl/net-ssleay-perl_1.72.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta/recipes-devtools/perl/net-ssleay-perl_1.72.bb diff --git a/meta/recipes-devtools/perl/net-ssleay-perl_1.72.bb b/meta/recipes-devtools/perl/net-ssleay-perl_1.72.bb new file mode 100644 index 0000000..87aeb80 --- /dev/null +++ b/meta/recipes-devtools/perl/net-ssleay-perl_1.72.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "Net::SSLeay module contains perl bindings to openssl \ +(<http://www.openssl.org>) library." + +SECTION = "libs" +LICENSE = "Artisticv1 | GPLv1+" +PR = "r0" + +MAINTAINER= "Poky <[email protected]>" +HOMEPAGE= "https://metacpan.org/release/Net-SSLeay" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ +file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" + +DEPENDS = "zlib openssl" +RDEPENDS_${PN} += "zlib openssl" + +SRC_URI = "https://cpan.metacpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz" + +SRC_URI[md5sum] = "a740d7792dbac8ca8c4eb38d3b8fbd01" +SRC_URI[sha256sum] = "1baac39f0f12cee515d8bec633175bb5916ca542e5356e26420437bd6195d2f4" + +S = "${WORKDIR}/Net-SSLeay-${PV}" + +inherit cpan + +do_configure() { + export OPENSSL_PREFIX="${STAGING_DIR_TARGET}/usr" + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_configure +} + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
