2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="libssh2"
|
2023-03-01 00:58:37 +00:00
|
|
|
PKG_VERSION="1.10.0"
|
|
|
|
PKG_SHA256="2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="BSD"
|
|
|
|
PKG_SITE="https://www.libssh2.org"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="https://www.libssh2.org/download/libssh2-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
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"
|
2023-03-01 00:58:37 +00:00
|
|
|
|
|
|
|
pre_configure_target() {
|
|
|
|
export LDFLAGS="${LDFLAGS} -lssl -lcrypto"
|
|
|
|
}
|