From 196bd117439c210310c13858087a53b19d001f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Babiarz?= <5783815+sauler@users.noreply.github.com> Date: Wed, 15 Dec 2021 18:26:23 +0100 Subject: Ports: Add libssh2 port --- Ports/libssh2/package.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 Ports/libssh2/package.sh (limited to 'Ports/libssh2') diff --git a/Ports/libssh2/package.sh b/Ports/libssh2/package.sh new file mode 100755 index 0000000000..0684cc86bd --- /dev/null +++ b/Ports/libssh2/package.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libssh2 +version=1.10.0 +useconfigure=true +files="https://www.libssh2.org/download/libssh2-${version}.tar.gz libssh2-${version}.tar.gz +https://www.libssh2.org/download/libssh2-${version}.tar.gz.asc libssh2-${version}.tar.gz.asc" +depends=("libgcrypt") +auth_type="sig" +auth_import_key="27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2" +auth_opts=("libssh2-${version}.tar.gz.asc" "libssh2-${version}.tar.gz") +configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja") + +configure() { + run cmake "${configopts[@]}" . +} + +build() { + run ninja +} + +install() { + run ninja install +} -- cgit v1.2.3