distribution/packages/network/libssh2/package.mk
2023-11-13 11:49:14 +00:00

18 lines
551 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libssh2"
PKG_VERSION="1.11.0"
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"
}