summaryrefslogtreecommitdiffhomepage
path: root/groups.d/251.native_packages_lib.d/libssh.package
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
commitb2c1ea9526151c4fed9dca8348019d718f489e76 (patch)
tree4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/251.native_packages_lib.d/libssh.package
parent4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff)
downloadmidipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2
midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz
Implements single package files.
Diffstat (limited to 'groups.d/251.native_packages_lib.d/libssh.package')
-rw-r--r--groups.d/251.native_packages_lib.d/libssh.package15
1 files changed, 15 insertions, 0 deletions
diff --git a/groups.d/251.native_packages_lib.d/libssh.package b/groups.d/251.native_packages_lib.d/libssh.package
new file mode 100644
index 00000000..9ad07b5d
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libssh.package
@@ -0,0 +1,15 @@
+: ${PKG_LIBSSH_DEPENDS:="libz"};
+: ${PKG_LIBSSH_SHA256SUM:=1861d498f5b6f1741b6abc73e608478491edcf9c9d4b6630eef6e74596de9dc1};
+: ${PKG_LIBSSH_VERSION:=0.10.6};
+: ${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