homebrew-core/Formula/clzip.rb
2019-10-18 08:10:51 +02:00

30 lines
1 KiB
Ruby

class Clzip < Formula
desc "C language version of lzip"
homepage "https://www.nongnu.org/lzip/clzip.html"
url "https://download.savannah.gnu.org/releases/lzip/clzip/clzip-1.11.tar.gz"
sha256 "d9d51212afa80371dc2546d278ef8ebbb3cd57c06fdd761b7b204497586d24c0"
bottle do
cellar :any_skip_relocation
sha256 "ae164ce5fd5a020988dc4e177a25cf19f924b282e561cdabf57577c88940ac2b" => :catalina
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