2023-06-23 15:14:12 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/lu-zero/cargo-c/archive/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: lu-zero/cargo-c
|
|
|
|
|
|
|
|
dependencies:
|
2024-03-21 00:43:47 +03:00
|
|
|
libgit2.org: ~1.7 # links to libgit2.so.1.7
|
2023-06-23 15:14:12 +03:00
|
|
|
libssh2.org: '*'
|
|
|
|
openssl.org: ^1.1
|
|
|
|
zlib.net: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2023-10-10 17:13:31 +03:00
|
|
|
rust-lang.org: ^1.70
|
2023-06-23 15:14:12 +03:00
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
script: cargo install $ARGS
|
|
|
|
env:
|
|
|
|
LIBGIT2_SYS_USE_PKG_CONFIG: 1
|
|
|
|
LIBSSH2_SYS_USE_PKG_CONFIG: 1
|
|
|
|
OPENSSL_NO_VENDOR: 1
|
2024-03-21 00:43:47 +03:00
|
|
|
OPENSSL_DIR: '{{deps.openssl.org.prefix}}'
|
2023-06-23 15:14:12 +03:00
|
|
|
ARGS:
|
|
|
|
- --root {{prefix}}
|
|
|
|
- --locked
|
|
|
|
- --path .
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/cargo-capi
|
|
|
|
- bin/cargo-cbuild
|
|
|
|
- bin/cargo-cinstall
|
|
|
|
- bin/cargo-ctest
|
|
|
|
|
2024-03-21 00:43:47 +03:00
|
|
|
test: cargo-capi --version | grep {{version}}
|