aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-07-05 20:25:40 +0300
committerprspkt <prspkt@protonmail.com>2020-07-05 20:25:40 +0300
commitfc6f6f42681bf3a377cc9434a24c26d12e3c9b90 (patch)
treed229168463c163f4d50226776ada3e873806c767
parent9b012fc8790caab71ac4f83f5349ac2db0b573cd (diff)
downloadaports-fc6f6f42681bf3a377cc9434a24c26d12e3c9b90.tar.gz
aports-fc6f6f42681bf3a377cc9434a24c26d12e3c9b90.tar.bz2
aports-fc6f6f42681bf3a377cc9434a24c26d12e3c9b90.tar.xz
testing/wabt: upgrade to 1.0.17
-rw-r--r--testing/wabt/APKBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/testing/wabt/APKBUILD b/testing/wabt/APKBUILD
index 1fc09c2d63..af7b6b3423 100644
--- a/testing/wabt/APKBUILD
+++ b/testing/wabt/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Ian Douglas Scott <ian@iandouglasscott.com>
# Maintainer: Ian Douglas Scott <ian@iandouglasscott.com>
pkgname=wabt
-pkgver=1.0.15
+pkgver=1.0.17
pkgrel=0
pkgdesc="WebAssembly binary toolkit"
arch="all"
@@ -22,18 +22,21 @@ build() {
rmdir third_party/wasm-c-api
ln -s ../../wasm-c-api-$_wasm_c_api_commit third_party/wasm-c-api
- mkdir -p build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -DBUILD_TESTS=OFF \
- ..
- make
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DBUILD_TESTS=OFF \
+ $CMAKE_CROSSOPTS
+ make -C build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}
-sha512sums="ef3579a1fb409c397b081374532c7bba12ab6a77ca8aaa09abf7767de4685035482015d679eab8ae3a6e098f407c3ddf208948d714399974892f0784545c5ecf wabt-1.0.15.tar.gz
+
+sha512sums="f4558c1cacfff0b53dc584eacd039c7e9dea5fa01297d5b004d52d0a8c990d437576dba6913ec8f8bb9f3bb018080da31b294043e255d7b954596089e86d3f23 wabt-1.0.17.tar.gz
b6ee7d2d83a3ca7b3cb3ee110282f7d32eada1d9020cadd3fdec58f40478879fd9ac9fada526021d8f6e8a26e1df7353df313d4149be2ffe4aea3a28f856fd89 wasm-c-api-d9a80099d496b5cdba6f3fe8fc77586e0e505ddc.tar.gz"