2023-03-31 21:58:52 +03:00
|
|
|
distributable:
|
2023-09-18 04:16:59 +03:00
|
|
|
url: https://github.com/surrealdb/surrealdb/archive/refs/tags/v{{version}}.tar.gz
|
2023-03-31 21:58:52 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/surreal
|
|
|
|
|
|
|
|
versions:
|
2023-09-18 04:16:59 +03:00
|
|
|
github: surrealdb/surrealdb
|
2023-03-31 21:58:52 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
openssl.org: ^1
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org: ">=1.60"
|
|
|
|
rust-lang.org/cargo: "*"
|
|
|
|
freedesktop.org/pkg-config: ^0.29
|
|
|
|
gnu.org/patch: '*' # rquickjs-sys:build.rs:L132
|
|
|
|
script: |
|
|
|
|
cargo install --path . --root {{prefix}}
|
|
|
|
env:
|
|
|
|
SURREAL_BUILD_METADATA: "tea"
|
|
|
|
linux:
|
|
|
|
# Needed to build `generic-array` for some odd reason
|
|
|
|
RUSTFLAGS: "-C linker=cc"
|
|
|
|
|
|
|
|
# FIXME: a better test needs to spin up the db server...
|
|
|
|
test: surreal version
|