From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id D27E57002B for ; Mon, 29 Aug 2016 02:18:58 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id u7T2IxrI018356 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Sun, 28 Aug 2016 19:18:59 -0700 Received: from pek-hostel-deb02.wrs.com (128.224.153.152) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Sun, 28 Aug 2016 19:18:58 -0700 From: To: Date: Mon, 29 Aug 2016 10:16:39 +0800 Message-ID: <1472436999-27335-22-git-send-email-mingli.yu@windriver.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1472436999-27335-1-git-send-email-mingli.yu@windriver.com> References: <1472436999-27335-1-git-send-email-mingli.yu@windriver.com> MIME-Version: 1.0 Subject: [PATCH 21/21] net-ssleay-perl: add new recipe X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2016 02:18:59 -0000 Content-Type: text/plain From: Mingli Yu * Add new recipe net-ssleay-perl as io-socket-ssl-perl rdepends on net-ssleay-perl Signed-off-by: Mingli Yu --- 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 \ +() library." + +SECTION = "libs" +LICENSE = "Artisticv1 | GPLv1+" +PR = "r0" + +MAINTAINER= "Poky " +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