From 30da5aa95934fae265a8c442ad9568bdedda28a1 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 2 Jun 2019 11:43:09 -0700 Subject: libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; enable ptest We follow Debian naming and this module snuck in misnamed. Add PROVIDES "libcrypt-openssl-guess" for backwards compatibility. Add runtime and ptest dependencies. Signed-off-by: Tim Orling Signed-off-by: Khem Raj --- .../libcrypt/libcrypt-openssl-guess-perl_0.11.bb | 37 ++++++++++++++++++++++ .../libcrypt/libcrypt-openssl-guess_0.11.bb | 21 ------------ 2 files changed, 37 insertions(+), 21 deletions(-) create mode 100644 meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb delete mode 100644 meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb (limited to 'meta-perl/recipes-perl') diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb new file mode 100644 index 0000000000..57df78b4e1 --- /dev/null +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb @@ -0,0 +1,37 @@ +SUMMARY = "Guess OpenSSL include path" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ea914cc2718e8d53bd7744d96e66c03c" + +SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Guess-${PV}.tar.gz " + +SRC_URI[md5sum] = "e768fe2c07826b0ac9ea604c79f93032" +SRC_URI[sha256sum] = "aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e7703149094d7167" + +DEPENDS += "openssl" + +RDEPENDS_${PN} = "\ + perl-module-config \ + perl-module-exporter \ + perl-module-extutils-mm \ + perl-module-extutils-mm-unix \ + perl-module-file-spec \ + perl-module-symbol \ + perl-module-strict \ + perl-module-warnings \ +" + +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" + +S = "${WORKDIR}/Crypt-OpenSSL-Guess-${PV}" + +inherit cpan ptest-perl + +BBCLASSEXTEND = "native" + +# for backwards compatibility +PROVIDES_${PN} += "libcrypt-openssl-guess" + +RDEPENDS_${PN}-ptest += "\ + perl-module-test-more \ +" diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb deleted file mode 100644 index 21be047206..0000000000 --- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Guess OpenSSL include path" -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ea914cc2718e8d53bd7744d96e66c03c" - -SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Guess-${PV}.tar.gz " - -SRC_URI[md5sum] = "e768fe2c07826b0ac9ea604c79f93032" -SRC_URI[sha256sum] = "aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e7703149094d7167" - -DEPENDS += "openssl" - -RDEPENDS_${PN}="perl-module-config perl-module-exporter perl-module-symbol perl-module-file-spec" - -EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" - -S = "${WORKDIR}/Crypt-OpenSSL-Guess-${PV}" - -inherit cpan - -BBCLASSEXTEND = "native" -- cgit 1.2.3-korg