2023-04-13 18:35:37 +03:00
|
|
|
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:
|
2024-02-21 21:30:38 +03:00
|
|
|
perl.org: '*'
|
2023-06-19 18:45:04 +03:00
|
|
|
openssl.org: ^1.1
|
2023-04-13 18:35:37 +03:00
|
|
|
zlib.net: ^1
|
2024-02-21 21:30:38 +03:00
|
|
|
libgit2.org: ^1
|
2023-04-13 18:35:37 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2024-02-21 21:30:38 +03:00
|
|
|
rust-lang.org: '>=1.60'
|
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
script: cargo install --path . --locked --root {{prefix}}
|
2023-04-13 18:35:37 +03:00
|
|
|
env:
|
|
|
|
linux:
|
2024-02-21 21:30:38 +03:00
|
|
|
RUSTFLAGS: '-C linker=cc'
|
2023-04-13 18:35:37 +03:00
|
|
|
# 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.
|
2024-02-21 21:30:38 +03:00
|
|
|
OPENSSL_DIR: '{{ deps.openssl.org.prefix }}' # Use tea's openssl installation directory
|
2023-04-13 18:35:37 +03:00
|
|
|
|
|
|
|
test: gitui --version
|