mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
w2c2: new package: WebAssembly to C transpiler (#7608)
it's a WebAssembly to C transpiler
This commit is contained in:
50
dev-lang/w2c2/w2c2-0.1~20221219.recipe
Normal file
50
dev-lang/w2c2/w2c2-0.1~20221219.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY="A WebAssembly bytecode to C89 transpiler"
|
||||
DESCRIPTION="w2c2 is a WebAssembly bytecode to ANSI/ISO C 1989 transpiler \
|
||||
that is written in ANSI/ISO C 1989 itself.
|
||||
|
||||
Among its features are:
|
||||
* Streamed compilation in a single pass
|
||||
* parallel compilation on multithreaded operating systems
|
||||
* Big-endian architecture support
|
||||
* Code sanitizers
|
||||
* Implements the WebAssembly Core Specification 1.0
|
||||
* Implements WASI standard
|
||||
* Supports multiple modules and instances"
|
||||
HOMEPAGE="https://github.com/turbolent/w2c2"
|
||||
COPYRIGHT="2021 Bastian Mueller"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="cd90cd995501d83ce41f57bfb11b1a52de092d20"
|
||||
SOURCE_URI="https://github.com/turbolent/w2c2/archive/$srcGitRev.zip"
|
||||
CHECKSUM_SHA256="8bc9699771b03f92237980e24805f74e4b866d57130089e968c038d364b0de2a"
|
||||
SOURCE_FILENAME="w2c2-$srcGitRev.zip"
|
||||
SOURCE_DIR="w2c2-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
w2c2
|
||||
cmd:w2c2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs FEATURES="threads getopt"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir $binDir
|
||||
cp w2c2 $binDir
|
||||
}
|
||||
Reference in New Issue
Block a user