diff --git a/dev-util/binaryen/Manifest b/dev-util/binaryen/Manifest new file mode 100644 index 0000000000..cab1aa50be --- /dev/null +++ b/dev-util/binaryen/Manifest @@ -0,0 +1 @@ +DIST binaryen-105.tar.gz 4044314 BLAKE2B e979a46f3c6f8d1acd077973006f9aba6958b5de24f81281cc249c53f046c83226c3e762031845054cc0ade403333c6335b2aba31dcf8b152577d152458dbe1d SHA512 5b16551fab37c660900abeae49fb4e23abc0b61165d326ce4db23959a0eab640df0df03c5649c0bcd35a8515b959a7a9d78d1014c4ea6cb08da4ef48f715f702 diff --git a/dev-util/binaryen/binaryen-105.ebuild b/dev-util/binaryen/binaryen-105.ebuild new file mode 100644 index 0000000000..742af417c6 --- /dev/null +++ b/dev-util/binaryen/binaryen-105.ebuild @@ -0,0 +1,28 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Compiler and toolchain infrastructure library for WebAssembly" +HOMEPAGE="https://github.com/WebAssembly/binaryen" +SRC_URI="https://github.com/WebAssembly/binaryen/archive/version_${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/binaryen-version_${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC_LIB=OFF + -DENABLE_WERROR=OFF + ) + cmake_src_configure +} + +src_test() { + ./check.py || die +} diff --git a/dev-util/binaryen/metadata.xml b/dev-util/binaryen/metadata.xml new file mode 100644 index 0000000000..19cddd85de --- /dev/null +++ b/dev-util/binaryen/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + WebAssembly/binaryen + +