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 @@
DIST binaryen-105.tar.gz 4044314 BLAKE2B e979a46f3c6f8d1acd077973006f9aba6958b5de24f81281cc249c53f046c83226c3e762031845054cc0ade403333c6335b2aba31dcf8b152577d152458dbe1d SHA512 5b16551fab37c660900abeae49fb4e23abc0b61165d326ce4db23959a0eab640df0df03c5649c0bcd35a8515b959a7a9d78d1014c4ea6cb08da4ef48f715f702

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
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">WebAssembly/binaryen</remote-id>
</upstream>
</pkgmetadata>