[build] type = "cmake" [build.flags] build_dir = "build" configure = [ "-DWITH_GSSAPI=OFF", "-G Ninja", "-DUNIT_TESTING=OFF", ] split-docs = true post_compile = [ "cmake --build build --target docs" ] post_install = [ "mkdir -p $DESTDIR/usr/share/doc/libssh", "cp -r build/doc/html $DESTDIR/usr/share/doc/libssh" ] [dependencies] build = [ "cmake", "cmocka", "doxygen", "openssh", "python", "ninja" ] runtime = [ "glibc", "openssl", "zlib-ng", ] [package] description = "Library for accessing ssh client services through C libraries" homepage = "https://www.libssh.org/" license = "LGPL-2.1-or-later" name = "libssh" version = "0.12.0" [[source]] extract_dir = "$name-$version" sha256 = "1a6af424d8327e5eedef4e5fe7f5b924226dd617ac9f3de80f217d82a36a7121" url = "https://www.libssh.org/files/0.12/libssh-$version.tar.xz"