homebrew-core/Formula/libunwind-headers.rb

21 lines
694 B
Ruby

class LibunwindHeaders < Formula
desc "C API for determining the call-chain of a program"
homepage "https://opensource.apple.com/"
url "https://github.com/apple-oss-distributions/libunwind/archive/refs/tags/libunwind-201.tar.gz"
sha256 "bbe469bd8778ba5a3e420823b9bf96ae98757a250f198893dee4628e0a432899"
license "APSL-2.0"
bottle do
sha256 cellar: :any_skip_relocation, all: "f4e338982c769a851a7a3083e7cb9f99931436bcc85b767550e260688733b0b0"
end
keg_only :shadowed_by_macos, "macOS provides libunwind.dylib (but nothing else)"
def install
cd "libunwind" do
include.install Dir["include/*"]
(include/"libunwind").install Dir["src/*.h*"]
end
end
end