wasm-pack/package.yml
Alexander Zhirov e5fc329ce0
All checks were successful
Build / Build project (push) Successful in 2m2s
Исправлена лицензия
2025-05-09 20:06:42 +03:00

29 lines
991 B
YAML

name : wasm-pack
version : 0.13.1
release : 1
source :
- https://github.com/rustwasm/wasm-pack/archive/refs/tags/v0.13.1.tar.gz : 3c28be53174fd12a6f3c3a018f14c8383b2eec6c6699c74751c1f3c51a2346c0
license : Apache-2.0
component : programming.tools
homepage : https://rustwasm.github.io/wasm-pack/
summary : wasm-pack is a streamlined tool for building, testing, and publishing Rust-generated WebAssembly (Wasm) projects.
description: |
This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js.
builddeps :
- rust
- pkgconfig(libzstd)
networking : yes
setup : |
target=$(rustc -vV | sed -n 's/host: //p')
mkdir -p .cargo
cat >> .cargo/config.toml <<-EOF
[target.$target]
zstd = { rustc-link-lib = ["zstd"] }
EOF
%cargo_fetch
build : |
%cargo_build
install : |
%cargo_install