summaryrefslogtreecommitdiff
path: root/dev-util/wabt
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-04-24 16:26:45 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-04-24 16:26:45 -0400
commita7b888ff9e70314164ee78c06d11afd401506133 (patch)
tree0f5660d530cbee413da2c79c657596049426501d /dev-util/wabt
parent1c09802fd645ef2bca0d048aaeb51faa1de38392 (diff)
downloadgentoo-overlay-a7b888ff9e70314164ee78c06d11afd401506133.tar.xz
gentoo-overlay-a7b888ff9e70314164ee78c06d11afd401506133.zip
dev-util/wabt: new package
Diffstat (limited to 'dev-util/wabt')
-rw-r--r--dev-util/wabt/Manifest1
-rw-r--r--dev-util/wabt/wabt-1.0.23.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/wabt/Manifest b/dev-util/wabt/Manifest
new file mode 100644
index 0000000..bb4c27d
--- /dev/null
+++ b/dev-util/wabt/Manifest
@@ -0,0 +1 @@
+DIST wabt-1.0.23.tar.xz 1925328 BLAKE2B 016d44583ecb5991e016864fcf9270f21ffff74ac899d8ead4b8cb9da7b34b0c064af4da2e3c5121a35c2fb206620386ef9e57911b951550ac5e142455fb5070 SHA512 fef436748b803e2a3b3292a79fd02070aeec9c51599338bb2d1930bd6a66482447f262fd1d4e4ccdf29a7e893ac107cc1dde90bfd0d571d0067310410101d979
diff --git a/dev-util/wabt/wabt-1.0.23.ebuild b/dev-util/wabt/wabt-1.0.23.ebuild
new file mode 100644
index 0000000..506cdbd
--- /dev/null
+++ b/dev-util/wabt/wabt-1.0.23.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="The WebAssembly Binary Toolkit"
+HOMEPAGE="https://github.com/WebAssembly/wabt"
+SRC_URI="https://github.com/WebAssembly/wabt/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+ test? ( dev-cpp/gtest )
+"
+RDEPEND=""
+BDEPEND="
+ test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test)
+ -DUSE_SYSTEM_GTEST=ON
+ )
+ cmake_src_configure
+}