mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
f3c7c725d2
* fix(rtx) * needs pkg-config * openssl is runtime
29 lines
607 B
YAML
29 lines
607 B
YAML
distributable:
|
|
url: https://github.com/jdxcode/rtx/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/rtx
|
|
|
|
versions:
|
|
github: jdxcode/rtx
|
|
strip: /v/
|
|
|
|
dependencies:
|
|
openssl.org: ^1.1 # newer RTX after 1.35.2 versions require openssl
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: '>=1.60<1.69'
|
|
rust-lang.org/cargo: '*'
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
cargo install --locked --path . --root {{prefix}}
|
|
env:
|
|
linux/x86-64:
|
|
# portable-atomic-1.3.1 uses this, but it's unstable
|
|
RUSTFLAGS: -C target-feature=+cmpxchg16b
|
|
|
|
test:
|
|
rtx --version
|