wasmtime: use create_wrksrc
This commit is contained in:
parent
d3b9c583f7
commit
620d016dec
1 changed files with 7 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
||||||
pkgname=wasmtime
|
pkgname=wasmtime
|
||||||
version=0.25.0
|
version=0.25.0
|
||||||
revision=1
|
revision=1
|
||||||
|
create_wrksrc=yes
|
||||||
archs="x86_64* i686* aarch64*"
|
archs="x86_64* i686* aarch64*"
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
short_desc="Standalone JIT-style runtime for WebAssembly, using Cranelift"
|
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
|
# move submodules to the proper location
|
||||||
rmdir tests/spec_testsuite
|
rmdir tests/spec_testsuite
|
||||||
rmdir crates/c-api/wasm-c-api
|
rmdir crates/c-api/wasm-c-api
|
||||||
rmdir crates/wasi-common/WASI
|
rmdir crates/wasi-common/WASI
|
||||||
rmdir crates/wasi-crypto/spec
|
rmdir crates/wasi-crypto/spec
|
||||||
|
|
||||||
mv -v ../testsuite-${_spec_testsuite_commit} tests/spec_testsuite
|
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 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-${_WASI_commit} crates/wasi-common/WASI
|
||||||
mv -v ../wasi-crypto-${_wasi_crypto_commit} crates/wasi-crypto/spec
|
mv -v wasi-crypto-${_wasi_crypto_commit} crates/wasi-crypto/spec
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue