homebrew-core/Formula/fastjar.rb
2019-08-02 02:53:30 +08:00

24 lines
869 B
Ruby

class Fastjar < Formula
desc "Implementation of Sun's jar tool"
homepage "https://savannah.nongnu.org/projects/fastjar"
url "https://download.savannah.nongnu.org/releases/fastjar/fastjar-0.98.tar.gz"
sha256 "f156abc5de8658f22ee8f08d7a72c88f9409ebd8c7933e9466b0842afeb2f145"
bottle do
cellar :any_skip_relocation
sha256 "2dba61ec801db3d83692b9c9dd26eab247cb4bb6a6d6afc27f059bb6ba6052e5" => :mojave
sha256 "87b2c870895191b309b595481f73346e763b87c661e64ef35b821e54395d5cc1" => :high_sierra
sha256 "35230e788987e3a3c63d126af24c634bcbf58c0a320223d61f0eae69f6cbcc00" => :sierra
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/fastjar", "-V"
system "#{bin}/grepjar", "-V"
end
end