17 lines
555 B
Ruby
17 lines
555 B
Ruby
class LibunwindHeaders < Formula
|
|
desc "C API for determining the call-chain of a program"
|
|
homepage "https://opensource.apple.com/"
|
|
url "https://opensource.apple.com/tarballs/libunwind/libunwind-35.4.tar.gz"
|
|
sha256 "5ca0fcb257a33eb376b19cd26ddc5f34d00f9099c8ffb462d7484bfdca654d7d"
|
|
|
|
bottle :unneeded
|
|
|
|
keg_only :shadowed_by_macos, "macOS provides libunwind.dylib (but nothing else)"
|
|
|
|
def install
|
|
include.install Dir["include/*"]
|
|
(include/"libunwind").install Dir["src/*.h*"]
|
|
(include/"libunwind/libunwind_priv.h").unlink
|
|
end
|
|
end
|