mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Documentation build process tries to use doxygen installed on host, which may fail to build docs. In order to avoid that, just disable documentation building altogether.
36 lines
1.4 KiB
Makefile
36 lines
1.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libssh"
|
|
PKG_VERSION="0.8.5"
|
|
PKG_SHA256="07d2c431240fc88f6b06bcb36ae267f9afeedce2e32f6c42f8844b205ab5a335"
|
|
PKG_LICENSE="LGPL"
|
|
PKG_SITE="http://www.libssh.org/"
|
|
PKG_URL="https://www.libssh.org/files/${PKG_VERSION%.*}/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain zlib openssl"
|
|
PKG_LONGDESC="Library for accessing ssh client services through C libraries."
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DWITH_STATIC_LIB=1 \
|
|
-DWITH_SERVER=OFF \
|
|
-DWITH_GCRYPT=OFF \
|
|
-DWITH_GSSAPI=OFF \
|
|
-DWITH_INTERNAL_DOC=OFF"
|
|
|
|
makeinstall_target() {
|
|
# install static library only
|
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
|
cp src/libssh.a $SYSROOT_PREFIX/usr/lib
|
|
|
|
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
|
cp libssh.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
|
|
|
mkdir -p $SYSROOT_PREFIX/usr/include/libssh
|
|
cp ../include/libssh/callbacks.h $SYSROOT_PREFIX/usr/include/libssh
|
|
cp ../include/libssh/legacy.h $SYSROOT_PREFIX/usr/include/libssh
|
|
cp ../include/libssh/libssh.h $SYSROOT_PREFIX/usr/include/libssh
|
|
cp ../include/libssh/server.h $SYSROOT_PREFIX/usr/include/libssh
|
|
cp ../include/libssh/sftp.h $SYSROOT_PREFIX/usr/include/libssh
|
|
cp ../include/libssh/ssh2.h $SYSROOT_PREFIX/usr/include/libssh
|
|
}
|