Skip to content
This repository was archived by the owner on Jul 21, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Formula/bzip2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class Bzip2 < Formula
license "bzip2-1.0.6"
revision 1

depends_on "binaryen" => :build
depends_on "wabt" => :build
depends_on "pkgconf" => :test

skip_clean "bin/bzip2", "lib/libbz2.a"
Expand All @@ -25,6 +27,7 @@ def install
"CFLAGS=-Wall -Winline -O2 -fPIC -D_FILE_OFFSET_BITS=64",
"LDFLAGS=",
"libbz2.a", "bzip2"
kandelo_validate_wasm_artifact(buildpath/"bzip2", fork: :forbidden)
end
kandelo_install_bin(buildpath, "bzip2", "bzip2")
lib.install "libbz2.a"
Expand Down
4 changes: 4 additions & 0 deletions Formula/xz.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class Xz < Formula
license all_of: ["GPL-2.0-or-later", "LGPL-2.1-or-later", "0BSD"]
revision 1

depends_on "binaryen" => :build
depends_on "wabt" => :build
depends_on "pkgconf" => :test

skip_clean "bin", "lib/liblzma.a"
Expand Down Expand Up @@ -45,6 +47,8 @@ def install
"--disable-lzmainfo",
"--enable-sandbox=no"
system "make"
kandelo_validate_wasm_artifact(buildpath/"src/xz/xz", fork: :forbidden)
kandelo_validate_wasm_artifact(buildpath/"src/xzdec/xzdec", fork: :forbidden)
system "make", "install"
end

Expand Down