mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
a7aeee7413
* +surrealdb * add openssl dependency * add gcc dependency * build fixes --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
32 lines
760 B
YAML
32 lines
760 B
YAML
distributable:
|
|
url: https://github.com/surrealdb/surrealdb/archive/refs/tags/v1.0.0-beta.8.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/surreal
|
|
|
|
versions:
|
|
- 0.0.0
|
|
# FIXME once there has been an official release
|
|
# github: surrealdb/surrealdb
|
|
|
|
dependencies:
|
|
openssl.org: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
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
|