Skip to content

Commit

Permalink
libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; enab…
Browse files Browse the repository at this point in the history
…le 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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
Tim Orling authored and kraj committed Jun 15, 2019
1 parent ef2241a commit 30da5aa
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,28 @@ SRC_URI[sha256sum] = "aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e770314909

DEPENDS += "openssl"

RDEPENDS_${PN}="perl-module-config perl-module-exporter perl-module-symbol perl-module-file-spec"
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
inherit cpan ptest-perl

BBCLASSEXTEND = "native"

# for backwards compatibility
PROVIDES_${PN} += "libcrypt-openssl-guess"

RDEPENDS_${PN}-ptest += "\
perl-module-test-more \
"

0 comments on commit 30da5aa

Please sign in to comment.