3 LIBSSH2_VERSION
:= 1.8.0
4 LIBSSH2_URL
:= http
://www.libssh2.org
/download
/libssh2-
$(LIBSSH2_VERSION
).
tar.gz
9 ifeq ($(call need_pkg
,"libssh2"),)
13 ifeq ($(shell echo
`${CC} -dumpversion | cut -f1-2 -d.`),4.9)
14 BROKEN_GCC_CFLAGS
:="CFLAGS=-O1"
17 $(TARBALLS
)/libssh2-
$(LIBSSH2_VERSION
).
tar.gz
:
18 $(call download_pkg
,$(LIBSSH2_URL
),ssh2
)
20 .sum-ssh2
: libssh2-
$(LIBSSH2_VERSION
).
tar.gz
22 ssh2
: libssh2-
$(LIBSSH2_VERSION
).
tar.gz .sum-ssh2
24 $(APPLY
) $(SRC
)/ssh2
/no-tests.patch
25 $(APPLY
) $(SRC
)/ssh2
/ced924b78a40126606797ef57a74066eb3b4b83f.patch
26 $(APPLY
) $(SRC
)/ssh2
/0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch
27 $(call pkg_static
,"libssh2.pc.in")
29 $(APPLY
) $(SRC
)/ssh2
/winrt-no-agent.patch
33 DEPS_ssh2
= gcrypt
$(DEPS_gcrypt
)
37 cd
$< && $(HOSTVARS
) .
/configure
$(BROKEN_GCC_CFLAGS
) $(HOSTCONF
) --disable-examples-build
--with-libgcrypt
--without-openssl
--without-mbedtls
38 cd
$< && $(MAKE
) install