wabt: use create-wrksrc
This commit is contained in:
parent
620d016dec
commit
874e8104e9
1 changed files with 5 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
pkgname=wabt
|
||||
version=1.0.23
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
build_style=cmake
|
||||
make_check_target=check
|
||||
checkdepends="python3-ply"
|
||||
|
@ -22,12 +23,13 @@ checksum="925f47020705cd2cc00a4ff6a36ab08f8adf6d08c7eac5057db0db38b6b2f16d
|
|||
aea8cd095e9937f1e14f2c93e026317b197eb2345e7a817fe3932062eb7b792c"
|
||||
|
||||
post_extract() {
|
||||
mv wabt-${version}/* .
|
||||
# move submodule to proper location
|
||||
rmdir third_party/gtest
|
||||
rmdir third_party/testsuite
|
||||
rmdir third_party/wasm-c-api
|
||||
|
||||
mv -v ../googletest-${_gtest_commit} third_party/gtest
|
||||
mv -v ../testsuite-${_testsuite_commit} third_party/testsuite
|
||||
mv -v ../wasm-c-api-${_wasm_c_api_commit} third_party/wasm-c-api
|
||||
mv -v googletest-${_gtest_commit} third_party/gtest
|
||||
mv -v testsuite-${_testsuite_commit} third_party/testsuite
|
||||
mv -v wasm-c-api-${_wasm_c_api_commit} third_party/wasm-c-api
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue