mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
New package: wasmtime-0.19.0
This commit is contained in:
parent
f9773b28aa
commit
d8cddc9565
1 changed files with 37 additions and 0 deletions
37
srcpkgs/wasmtime/template
Normal file
37
srcpkgs/wasmtime/template
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Template file for 'wasmtime'
|
||||||
|
pkgname=wasmtime
|
||||||
|
version=0.19.0
|
||||||
|
revision=1
|
||||||
|
archs="x86_64* i686* aarch64*"
|
||||||
|
build_style=cargo
|
||||||
|
short_desc="Standalone JIT-style runtime for WebAssembly, using Cranelift"
|
||||||
|
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://github.com/bytecodealliance/wasmtime"
|
||||||
|
_spec_testsuite_commit=d2163dace09d647bccf34b9b82a6f05a3b23cf29
|
||||||
|
_wasm_c_api_commit=d9a80099d496b5cdba6f3fe8fc77586e0e505ddc
|
||||||
|
_WASI_commit=2b027d91c29e6141a3768e638076daa23f51621c
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz
|
||||||
|
https://github.com/WebAssembly/testsuite/archive/${_spec_testsuite_commit}.tar.gz
|
||||||
|
https://github.com/WebAssembly/wasm-c-api/archive/${_wasm_c_api_commit}.tar.gz
|
||||||
|
https://github.com/WebAssembly/WASI/archive/${_WASI_commit}.tar.gz"
|
||||||
|
checksum="f569c74aacd4fe52c5fabe4fda9dd6c41bce72e8e467b52a38626bc0dbad1149
|
||||||
|
1ea206dba1b0826cf52e7a4b9328a341c75e8642072ab5e34356def380ad504d
|
||||||
|
aea8cd095e9937f1e14f2c93e026317b197eb2345e7a817fe3932062eb7b792c
|
||||||
|
caf4343207d9f3ec135aae8c113824a8b588db61538d210b22acd6ea7c6d485e"
|
||||||
|
|
||||||
|
case ${XBPS_TARGET_MACHINE} in
|
||||||
|
aarch64-musl)
|
||||||
|
broken="https://github.com/bytecodealliance/wasmtime/issues/2133";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# move submodules to the proper location
|
||||||
|
rmdir tests/spec_testsuite
|
||||||
|
rmdir crates/c-api/wasm-c-api
|
||||||
|
rmdir crates/wasi-common/WASI
|
||||||
|
|
||||||
|
mv -v ../testsuite-${_spec_testsuite_commit} tests/spec_testsuite
|
||||||
|
mv -v ../wasm-c-api-${_wasm_c_api_commit} crates/c-api/wasm-c-api
|
||||||
|
mv -v ../WASI-${_WASI_commit} crates/wasi-common/WASI
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue