libssh2: add recipe file

A separate commit on curl adds a PACKAGECONFIG option within the
curl recipe in OE-Core to use libssh2 in curl, the user can enable
libssh2 via conf/local.conf or custom distro configuration, this will
pull in libssh2, which is not used by default.

Signed-off-by: Fabrice Coulon <fabrice.coulon@axis.com>
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Fabrice Coulon
2014-10-03 11:21:11 +02:00
committed by Martin Jansa
parent f41b4a1967
commit 0186f98178
@@ -0,0 +1,18 @@
SUMMARY = "A client-side C library implementing the SSH2 protocol"
HOMEPAGE = "http://www.libssh2.org/"
SECTION = "libs"
DEPENDS = "zlib openssl"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=d00afe44f336a79a2ca7e1681ce14509"
SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz"
SRC_URI[md5sum] = "071004c60c5d6f90354ad1b701013a0b"
SRC_URI[sha256sum] = "eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d"
inherit autotools pkgconfig
EXTRA_OECONF += "--with-openssl \
--with-libz \
"