# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="libssh2" PKG_VERSION="1.10.0" PKG_SHA256="2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51" PKG_LICENSE="BSD" PKG_SITE="https://www.libssh2.org" PKG_URL="https://www.libssh2.org/download/libssh2-${PKG_VERSION}.tar.gz" PKG_DEPENDS_TARGET="toolchain openssl" PKG_LONGDESC="A library implementing the SSH2 protocol" PKG_BUILD_FLAGS="+pic" PKG_CMAKE_OPTS_TARGET="-DBUILD_EXAMPLES=OFF \ -DBUILD_TESTING=OFF" pre_configure_target() { export LDFLAGS="${LDFLAGS} -lssl -lcrypto" }