diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-support/libssh | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/libssh')
-rw-r--r-- | meta-oe/recipes-support/libssh/libssh_git.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libssh/libssh_git.bb b/meta-oe/recipes-support/libssh/libssh_git.bb new file mode 100644 index 0000000000..3f118a0f33 --- /dev/null +++ b/meta-oe/recipes-support/libssh/libssh_git.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Multiplatform C library implementing the SSHv2 and SSHv1 protocol" | ||
2 | HOMEPAGE = "http://www.libssh.org" | ||
3 | SECTION = "libs" | ||
4 | |||
5 | DEPENDS = "zlib openssl libgcrypt" | ||
6 | |||
7 | LICENSE = "LGPLv2.1" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=388a4fb1dea8ceae0be78ba9b01fc139" | ||
9 | |||
10 | PV = "0.5.5+gitr${SRCPV}" | ||
11 | SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=v0-5" | ||
12 | SRCREV = "43914a5f07702fe292a968322d5ff2627e0431db" | ||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | EXTRA_OECMAKE = " \ | ||
16 | -DWITH_GCRYPT=1 \ | ||
17 | -DWITH_PCAP=1 \ | ||
18 | -DWITH_SFTP=1 \ | ||
19 | -DWITH_ZLIB=1 \ | ||
20 | " | ||
21 | |||
22 | inherit cmake | ||
23 | |||
24 | do_configure_prepend () { | ||
25 | # Disable building of examples | ||
26 | sed -i -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' ${S}/CMakeLists.txt \ | ||
27 | || bbfatal "Failed to disable examples" | ||
28 | } | ||