mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
new file: projects/github.com/lu-zero/cargo-c/package.yml
This commit is contained in:
parent
4f55e484a0
commit
3ad538f7b7
1 changed files with 38 additions and 0 deletions
38
projects/github.com/lu-zero/cargo-c/package.yml
Normal file
38
projects/github.com/lu-zero/cargo-c/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/lu-zero/cargo-c/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: lu-zero/cargo-c
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
libgit2.org: '*'
|
||||||
|
libssh2.org: '*'
|
||||||
|
openssl.org: ^1.1
|
||||||
|
zlib.net: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
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
|
||||||
|
OPENSSL_DIR: "{{deps.openssl.org.prefix}}"
|
||||||
|
ARGS:
|
||||||
|
- --root {{prefix}}
|
||||||
|
- --locked
|
||||||
|
- --path .
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/cargo-capi
|
||||||
|
- bin/cargo-cbuild
|
||||||
|
- bin/cargo-cinstall
|
||||||
|
- bin/cargo-ctest
|
||||||
|
|
||||||
|
test: cargo-capi --version | grep {{version}}
|
Loading…
Reference in a new issue