2019-05-02 03:49:22 +00:00
|
|
|
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"
|
2019-05-02 03:49:22 +00:00
|
|
|
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
|
|
|
|
sha256 "654a41ff519d4109d38f17c3fb321f130e60c9d72d137674f2dde9ef5cf129be" => :mojave
|
|
|
|
sha256 "2a3bf6819a2fdbef49fa7bf1e1cea7ef6c6d090bf8fa787fe7b2a582b2631045" => :high_sierra
|
|
|
|
sha256 "26dbdb3a397aa3f62acc15bbbf599a32e5b832564ea6ddc6e15327baac90b5ba" => :sierra
|
|
|
|
end
|
|
|
|
|
2019-05-02 03:49:22 +00:00
|
|
|
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
|