homebrew-core/Formula/clzip.rb

31 lines
1 KiB
Ruby
Raw Permalink Normal View History

class Clzip < Formula
desc "C language version of lzip"
2019-05-24 09:31:15 +00:00
homepage "https://www.nongnu.org/lzip/clzip.html"
url "https://download.savannah.gnu.org/releases/lzip/clzip/clzip-1.11.tar.gz"
sha256 "d9d51212afa80371dc2546d278ef8ebbb3cd57c06fdd761b7b204497586d24c0"
2019-05-23 16:13:29 +00:00
bottle do
cellar :any_skip_relocation
2019-10-18 01:55:02 +00:00
sha256 "ae164ce5fd5a020988dc4e177a25cf19f924b282e561cdabf57577c88940ac2b" => :catalina
2019-05-23 16:13:29 +00:00
sha256 "654a41ff519d4109d38f17c3fb321f130e60c9d72d137674f2dde9ef5cf129be" => :mojave
sha256 "2a3bf6819a2fdbef49fa7bf1e1cea7ef6c6d090bf8fa787fe7b2a582b2631045" => :high_sierra
sha256 "26dbdb3a397aa3f62acc15bbbf599a32e5b832564ea6ddc6e15327baac90b5ba" => :sierra
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
pkgshare.install "testsuite"
end
test do
cp_r pkgshare/"testsuite", testpath
cd "testsuite" do
ln_s bin/"clzip", "clzip"
system "./check.sh"
end
end
end