From 3ad538f7b79634a596b18fcc0b596bfef64ee298 Mon Sep 17 00:00:00 2001 From: ArionThinker Date: Fri, 23 Jun 2023 15:14:12 +0300 Subject: [PATCH] new file: projects/github.com/lu-zero/cargo-c/package.yml --- .../github.com/lu-zero/cargo-c/package.yml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 projects/github.com/lu-zero/cargo-c/package.yml diff --git a/projects/github.com/lu-zero/cargo-c/package.yml b/projects/github.com/lu-zero/cargo-c/package.yml new file mode 100644 index 00000000..7851e6bb --- /dev/null +++ b/projects/github.com/lu-zero/cargo-c/package.yml @@ -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}} \ No newline at end of file