summaryrefslogtreecommitdiffhomepage
path: root/groups.d/251.native_packages_lib.d/libssh.package
blob: 6f7ca733271730b8a734bc5703a79168058960a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
: ${PKG_LIBSSH_DEPENDS:="libz libgcrypt"};
: ${PKG_LIBSSH_SHA256SUM:=14b7dcc72e91e08151c58b981a7b570ab2663f630e7d2837645d5a9c612c1b79};
: ${PKG_LIBSSH_VERSION:=0.11.1};
: ${PKG_LIBSSH_URL:=https://www.libssh.org/files/${PKG_LIBSSH_VERSION%.*}/libssh-${PKG_LIBSSH_VERSION}.tar.xz};
: ${PKG_LIBSSH_SUBDIR:=libssh-${PKG_LIBSSH_VERSION}};
: ${PKG_LIBSSH_CMAKE_ARGS_EXTRA:="
	-DWITH_EXAMPLES=OFF
	-DWITH_GCRYPT=ON
	-DWITH_SYMBOL_VERSIONING=OFF
	-DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
	-DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.lib.a"};

ex_pkg_register "libssh" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";

# vim:filetype=sh textwidth=0