aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libssh2/libssh2_1.8.0.bb
diff options
context:
space:
mode:
authorHuang Qiyu <huangqy.fnst@cn.fujitsu.com>2017-05-11 18:18:09 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-05-23 15:49:39 +0200
commit530fb689960ef4ecc187b62373ec1391903d48a0 (patch)
treed792a2c1d2844fc8488b2abe1f157e4c4d5f171e /meta-oe/recipes-support/libssh2/libssh2_1.8.0.bb
parentd9e0ef72da1f4a08372f949df4243e54f89a1ba1 (diff)
downloadmeta-openembedded-contrib-530fb689960ef4ecc187b62373ec1391903d48a0.tar.gz
libssh2: 1.7.0 -> 1.8.0
Upgrade libssh2 from 1.7.0 to 1.8.0. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libssh2/libssh2_1.8.0.bb')
-rw-r--r--meta-oe/recipes-support/libssh2/libssh2_1.8.0.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libssh2/libssh2_1.8.0.bb b/meta-oe/recipes-support/libssh2/libssh2_1.8.0.bb
new file mode 100644
index 0000000000..94bfb8f87e
--- /dev/null
+++ b/meta-oe/recipes-support/libssh2/libssh2_1.8.0.bb
@@ -0,0 +1,26 @@
+SUMMARY = "A client-side C library implementing the SSH2 protocol"
+HOMEPAGE = "http://www.libssh2.org/"
+SECTION = "libs"
+
+DEPENDS = "zlib"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c5cf34fc0acb44b082ef50ef5e4354ca"
+
+SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz"
+SRC_URI[md5sum] = "3d1147cae66e2959ea5441b183de1b1c"
+SRC_URI[sha256sum] = "39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "\
+ --with-libz \
+ --with-libz-prefix=${STAGING_LIBDIR} \
+ "
+
+# only one of openssl and gcrypt could be set
+PACKAGECONFIG ??= "openssl"
+PACKAGECONFIG[openssl] = "--with-openssl --with-libssl-prefix=${STAGING_LIBDIR},--without-openssl,openssl"
+PACKAGECONFIG[gcrypt] = "--with-libgcrypt --with-libgcrypt-prefix=${STAGING_EXECPREFIXDIR},--without-libgcrypt,libgcrypt"
+
+BBCLASSEXTEND = "native"