1 ################################################################################
5 ################################################################################
8 LIBSSH_SOURCE
= libssh-
$(LIBSSH_VERSION
).
tar.xz
9 LIBSSH_SITE
= https
://red.libssh.org
/attachments
/download
/195
10 LIBSSH_LICENSE
= LGPLv2.1
11 LIBSSH_LICENSE_FILES
= COPYING
12 LIBSSH_INSTALL_STAGING
= YES
13 LIBSSH_SUPPORTS_IN_SOURCE_BUILD
= NO
15 -DWITH_STACK_PROTECTOR
=OFF \
19 ifeq ($(BR2_PACKAGE_ZLIB
),y
)
20 LIBSSH_CONF_OPTS
+= -DWITH_ZLIB
=ON
21 LIBSSH_DEPENDENCIES
+= zlib
23 LIBSSH_CONF_OPTS
+= -DWITH_ZLIB
=OFF
26 # Dependency is either on libgcrypt or openssl, guaranteed in Config.in.
28 ifeq ($(BR2_PACKAGE_LIBGCRYPT
),y
)
29 LIBSSH_CONF_OPTS
+= -DWITH_GCRYPT
=ON
30 LIBSSH_DEPENDENCIES
+= libgcrypt
32 LIBSSH_CONF_OPTS
+= -DWITH_GCRYPT
=OFF
33 LIBSSH_DEPENDENCIES
+= openssl
36 $(eval
$(cmake-package
))