mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+surrealdb (#133)
* +surrealdb * add openssl dependency * add gcc dependency * build fixes --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
8d9cdb01df
commit
a7aeee7413
1 changed files with 32 additions and 0 deletions
32
projects/surrealdb.com/package.yml
Normal file
32
projects/surrealdb.com/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
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
|
Loading…
Reference in a new issue