libnet-ssleay-perl: add Net::SSLeay Perl module
authorRoman I Khimov <khimov@altell.ru>
Wed, 17 Mar 2010 13:01:00 +0000 (16:01 +0300)
committerRoman I Khimov <khimov@altell.ru>
Tue, 23 Mar 2010 21:46:17 +0000 (00:46 +0300)
Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/perl/libnet-ssleay-perl_1.36.bb [new file with mode: 0644]

diff --git a/recipes/perl/libnet-ssleay-perl_1.36.bb b/recipes/perl/libnet-ssleay-perl_1.36.bb
new file mode 100644 (file)
index 0000000..3c6ba18
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "Net::SSLeay - Perl extension for using OpenSSL"
+SECTION = "libs"
+LICENSE = "OpenSSL"
+DEPENDS = "openssl zlib"
+RDEPENDS_${PN} += " \
+       perl-module-carp \
+       perl-module-errno \
+       perl-module-extutils-makemaker \
+       perl-module-mime-base64 \
+       perl-module-socket \
+       "
+
+BBCLASSEXTEND = "native"
+PR = "r0"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Net-SSLeay-${PV}.tar.gz;name=net-ssleay-${PV}"
+SRC_URI[net-ssleay-1.36.md5sum] = "54061638720dd6a325395331c77f21d8"
+SRC_URI[net-ssleay-1.36.sha256sum] = "e262897263c5aa9096e39f7813c7cb7d4d05508ca406b173878c4ecddb2c53ce"
+
+S = "${WORKDIR}/Net-SSLeay-${PV}"
+
+export OPENSSL_PREFIX="${STAGING_INCDIR}/.."
+
+inherit cpan