1
0
forked from ports/contrib

wasm-bindgen: initial commit, version 0.2.92

This commit is contained in:
Tim Biermann 2024-07-12 11:00:13 +02:00
parent eb9535ec81
commit bf9e73e824
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 3776 additions and 0 deletions

5
wasm-bindgen/.footprint Normal file
View File

@ -0,0 +1,5 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wasm-bindgen
-rwxr-xr-x root/root usr/bin/wasm-bindgen-test-runner
-rwxr-xr-x root/root usr/bin/wasm2es6js

6
wasm-bindgen/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38wW/EpDga85pgPO6dJNRCYV1eT1S3t2HYqRJyiG7FEJlhRuvMoAm9GlW68Qog7peC22zeBA8p1MClf49RKekQE=
SHA256 (Pkgfile) = eb0eaf85fefef9c8cc94bb10fc1eaee0b2bcecf65fdf7553e2f28c4fe15ea0b0
SHA256 (.footprint) = 7096ecda6d3d2ea020c0d140bb47cf0146ada33d244f519c2b48c19088cb2a17
SHA256 (wasm-bindgen-0.2.92.tar.gz) = dd80811dd5683f0a86a333ab1994e1b39294428cc8e3c9b55d10ffa635c81600
SHA256 (Cargo.lock) = 3419a14c566339a9746cd9aa22423ae7c3ee3ca96b2def95fac48a4bc6d7c355

3740
wasm-bindgen/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

25
wasm-bindgen/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: Facilitating high-level interactions between Wasm modules and JavaScript
# URL: https://github.com/rustwasm/wasm-bindgen
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust-wasm
name=wasm-bindgen
version=0.2.92
release=1
source=(https://github.com/rustwasm/wasm-bindgen/archive/$version/$name-$version.tar.gz
Cargo.lock)
build() {
cd $name-$version/crates/cli
cp $SRC/Cargo.lock .
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
export OPENSSL_NO_VENDOR=1
cargo build --release --all-features
find $SRC/$name-$version/target/release \
-maxdepth 1 \
-executable \
-type f \
-exec install -Dm0755 -t $PKG/usr/bin/ {} \;
}