blob: 1a3a4fdd1b718c7e3b65c1ecce3dff4380ae9f30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Ian Douglas Scott <ian@iandouglasscott.com>
# Maintainer: Ian Douglas Scott <ian@iandouglasscott.com>
pkgname=wabt
pkgver=1.0.11
pkgrel=0
pkgdesc="WebAssembly binary toolkit"
arch="all"
url="https://github.com/WebAssembly/wabt"
license="Apache-2.0"
makedepends="cmake"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
# Tests require vendored dependencies (as git submodules). Should be modified
# to use copies from repository.
options="!check"
build() {
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \
..
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
sha512sums="e0cd1afb914cb0115090ef935de68f16dccc7f8c0dd62ace519a5e00a44ad7167db33ee6902da378c125e94d31c3530bec9943e4f8098d2df6a3a4290d425833 wabt-1.0.11.tar.gz"
|