diff options
Diffstat (limited to 'meta-oe/recipes-support/libssh/libssh_0.8.8.bb')
-rw-r--r-- | meta-oe/recipes-support/libssh/libssh_0.8.8.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libssh/libssh_0.8.8.bb b/meta-oe/recipes-support/libssh/libssh_0.8.8.bb new file mode 100644 index 000000000..1952a8f2a --- /dev/null +++ b/meta-oe/recipes-support/libssh/libssh_0.8.8.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Multiplatform C library implementing the SSHv2 and SSHv1 protocol" | ||
2 | HOMEPAGE = "http://www.libssh.org" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "LGPLv2.1" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0" | ||
6 | |||
7 | DEPENDS = "zlib openssl libgcrypt" | ||
8 | |||
9 | SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=stable-0.8" | ||
10 | SRCREV = "7850307210590a9a1b03ab0273d29b3926a974c5" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | inherit cmake | ||
15 | |||
16 | PACKAGECONFIG ??="" | ||
17 | PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, " | ||
18 | |||
19 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
20 | |||
21 | EXTRA_OECMAKE = " \ | ||
22 | -DWITH_GCRYPT=1 \ | ||
23 | -DWITH_PCAP=1 \ | ||
24 | -DWITH_SFTP=1 \ | ||
25 | -DWITH_ZLIB=1 \ | ||
26 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ | ||
27 | " | ||
28 | |||
29 | do_configure_prepend () { | ||
30 | # Disable building of examples | ||
31 | sed -i -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' ${S}/CMakeLists.txt \ | ||
32 | || bbfatal "Failed to disable examples" | ||
33 | } | ||
34 | |||
35 | TOOLCHAIN = "gcc" | ||