mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
31 lines
754 B
YAML
31 lines
754 B
YAML
|
distributable:
|
||
|
url: https://github.com/extrawurst/gitui/archive/refs/tags/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/gitui
|
||
|
|
||
|
versions:
|
||
|
github: extrawurst/gitui/tags
|
||
|
strip: /v/
|
||
|
|
||
|
dependencies:
|
||
|
perl.org: "*"
|
||
|
openssl.org: "*"
|
||
|
zlib.net: ^1
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
rust-lang.org: ">=1.60"
|
||
|
rust-lang.org/cargo: "*"
|
||
|
script: cargo install --path . --root {{prefix}}
|
||
|
env:
|
||
|
linux:
|
||
|
RUSTFLAGS: "-C linker=cc"
|
||
|
# See: https://docs.rs/openssl/latest/openssl/#manual
|
||
|
OPENSSL_NO_VENDOR: true # Always find OpenSSL in the system, even if the vendored feature is enabled.
|
||
|
OPENSSL_DIR: "{{ deps.openssl.org.prefix }}" # Use tea's openssl installation directory
|
||
|
|
||
|
test: gitui --version
|