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-11-13 11:49:14 +00:00
|
|
|
PKG_VERSION="1.11.0"
|
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"
|
|
|
|
}
|