mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Ports: Add libssh2 port
This commit is contained in:
parent
bdc028da1c
commit
196bd11743
Notes:
sideshowbarker
2024-07-17 22:33:50 +09:00
Author: https://github.com/Sauler Commit: https://github.com/SerenityOS/serenity/commit/196bd117439 Pull-request: https://github.com/SerenityOS/serenity/pull/11272 Reviewed-by: https://github.com/davidot
2 changed files with 24 additions and 0 deletions
|
@ -87,6 +87,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy |
|
||||
| [`libsixel`](libsixel/) | libsixel | 1.8.6 | https://github.com/saitoha/libsixel |
|
||||
| [`libsodium`](libsodium/) | libsodium | 1.0.18 | https://doc.libsodium.org/ |
|
||||
| [`libssh2`](libssh2/) | libssh2 | 1.10.0 | https://www.libssh2.org/ |
|
||||
| [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ |
|
||||
| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ |
|
||||
| [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ |
|
||||
|
|
23
Ports/libssh2/package.sh
Executable file
23
Ports/libssh2/package.sh
Executable file
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue