wasmtime: use create_wrksrc
This commit is contained in:
parent
d3b9c583f7
commit
620d016dec
|
@ -2,6 +2,7 @@
|
|||
pkgname=wasmtime
|
||||
version=0.25.0
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
archs="x86_64* i686* aarch64*"
|
||||
build_style=cargo
|
||||
short_desc="Standalone JIT-style runtime for WebAssembly, using Cranelift"
|
||||
|
@ -33,15 +34,16 @@ do_check() {
|
|||
:
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
post_extract() {
|
||||
mv wasmtime-${version}/* .
|
||||
# move submodules to the proper location
|
||||
rmdir tests/spec_testsuite
|
||||
rmdir crates/c-api/wasm-c-api
|
||||
rmdir crates/wasi-common/WASI
|
||||
rmdir crates/wasi-crypto/spec
|
||||
|
||||
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
|
||||
mv -v ../wasi-crypto-${_wasi_crypto_commit} crates/wasi-crypto/spec
|
||||
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
|
||||
mv -v wasi-crypto-${_wasi_crypto_commit} crates/wasi-crypto/spec
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue