dev-util/binaryen: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-02-25 10:44:29 +01:00
parent 21cf80e28f
commit 086dd0f91c
3 changed files with 40 additions and 0 deletions

View File

@@ -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
}