2023-04-15 04:06:26 +03:00
|
|
|
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/
|
|
|
|
|
2023-07-31 18:33:03 +03:00
|
|
|
dependencies:
|
|
|
|
openssl.org: ^1.1 # newer RTX after 1.35.2 versions require openssl
|
|
|
|
|
2023-04-15 04:06:26 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
2023-04-23 00:05:56 +03:00
|
|
|
rust-lang.org: '>=1.60<1.69'
|
2023-04-15 04:06:26 +03:00
|
|
|
rust-lang.org/cargo: '*'
|
2023-07-31 18:33:03 +03:00
|
|
|
freedesktop.org/pkg-config: '*'
|
2023-04-15 04:06:26 +03:00
|
|
|
script:
|
|
|
|
cargo install --locked --path . --root {{prefix}}
|
2023-05-08 00:39:39 +03:00
|
|
|
env:
|
|
|
|
linux/x86-64:
|
|
|
|
# portable-atomic-1.3.1 uses this, but it's unstable
|
|
|
|
RUSTFLAGS: -C target-feature=+cmpxchg16b
|
2023-04-15 04:06:26 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
rtx --version
|