homebrew-core/Formula/pbzip2.rb

31 lines
1.5 KiB
Ruby

class Pbzip2 < Formula
desc "Parallel bzip2"
homepage "https://web.archive.org/web/20180226093549/compression.ca/pbzip2/"
url "https://launchpad.net/pbzip2/1.1/1.1.13/+download/pbzip2-1.1.13.tar.gz"
sha256 "8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6"
license "bzip2-1.0.6"
bottle do
sha256 cellar: :any_skip_relocation, arm64_big_sur: "8a42feae1d424ac132a520973b5bb9517bdf83bda8439263008b20c2208ed493"
sha256 cellar: :any_skip_relocation, big_sur: "ea9f81b7830949f9e449c5277807f931e3041a63071bf0b66a9c254cbff2e965"
sha256 cellar: :any_skip_relocation, catalina: "57c1c1065cd29ee37187b87705adfb73b84d114fc46408d4690024f3a29ac837"
sha256 cellar: :any_skip_relocation, mojave: "5594212d69f619f7fa59cfec23ce2c6eefa0f8c69d5e77cdd84cf9e2478d0d51"
sha256 cellar: :any_skip_relocation, high_sierra: "d72e618d7301937ab6a392e1ef3d9ed1f8d5380cd6516ea17b4e4bde11eea9a7"
sha256 cellar: :any_skip_relocation, sierra: "c15b9c38b5302286033e54ff4be006c3b31ccb179f96641e44f1126958527d7e"
sha256 cellar: :any_skip_relocation, el_capitan: "be653d724b6f061cb9939dbdbf457aebc275e16dbf599f598b9ff3999fdd5db3"
sha256 cellar: :any_skip_relocation, yosemite: "ad103aef3e2d72293cfed3fcc42999afee9b4fc332f8319e3c079758215411c9"
end
def install
system "make", "PREFIX=#{prefix}",
"CC=#{ENV.cxx}",
"CFLAGS=#{ENV.cflags}",
"PREFIX=#{prefix}",
"install"
end
test do
system "#{bin}/pbzip2", "--version"
end
end