From a7b888ff9e70314164ee78c06d11afd401506133 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sat, 24 Apr 2021 16:26:45 -0400 Subject: dev-util/wabt: new package --- dev-util/wabt/Manifest | 1 + dev-util/wabt/wabt-1.0.23.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 dev-util/wabt/Manifest create mode 100644 dev-util/wabt/wabt-1.0.23.ebuild (limited to 'dev-util/wabt') 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 +} -- cgit v1.2.3-70-g09d2