homebrew-core/Formula/advancecomp.rb

25 lines
947 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Advancecomp < Formula
desc "Recompression utilities for .PNG, .MNG, .ZIP, and .GZ files"
2015-08-24 18:09:51 +00:00
homepage "http://www.advancemame.it/comp-readme.html"
url "https://github.com/amadvance/advancecomp/releases/download/v1.20/advancecomp-1.20.tar.gz"
sha256 "590a447cfc7ab3a37ec707e13967a0046a81a888c561ebaff5415b1e946da67b"
2015-08-24 07:07:22 +00:00
bottle do
cellar :any
sha256 "1747345df07102d0e67b8b09d1e56b242632ca7ff2fb6262b6e4ffca47a4b9ce" => :yosemite
sha256 "415ec861aa810f33b2bf37fdbb3f3e3d30c86b785707874dbbdd7e238bdfeaee" => :mavericks
sha256 "1f5eda1efb7d5ee16523d03548376cade99aace349895cc45dac3d74017de6c6" => :mountain_lion
end
def install
2012-02-09 05:01:06 +00:00
system "./configure", "--disable-debug", "--disable-dependency-tracking",
2015-08-24 18:09:51 +00:00
"--enable-bzip2", "--prefix=#{prefix}", "--mandir=#{man}"
system "make", "install"
end
2014-06-17 03:20:39 +00:00
test do
system bin/"advdef", "--version"
system bin/"advpng", "--version"
end
end