40 lines
729 B
TOML
40 lines
729 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DREGEX_BACKEND=pcre2",
|
|
"-DUSE_SSH=ON",
|
|
"-Wno-dev",
|
|
]
|
|
|
|
[dependencies]
|
|
build = [
|
|
"cmake",
|
|
"openssl",
|
|
"libssh2",
|
|
"pcre2",
|
|
"python",
|
|
]
|
|
runtime = [
|
|
"glibc",
|
|
"libunwind",
|
|
"zlib-ng",
|
|
"pcre2",
|
|
"openssl",
|
|
"libssh2"
|
|
]
|
|
|
|
[package]
|
|
description = "linkable library for Git"
|
|
homepage = "https://github.com/libgit2/libgit2"
|
|
license = "LicenseRef-GPL-2.0-only-with-linking-exception"
|
|
name = "libgit2"
|
|
version = "1.9.2"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "6f097c82fc06ece4f40539fb17e9d41baf1a5a2fc26b1b8562d21b89bc355fe6"
|
|
url = "https://github.com/libgit2/libgit2/archive/refs/tags/v$version.tar.gz"
|