2015-06-29 19:05:56 +00:00
|
|
|
class Gif2png < Formula
|
|
|
|
desc "Convert GIFs to PNGs."
|
|
|
|
homepage "http://www.catb.org/~esr/gif2png/"
|
2015-11-14 07:27:57 +00:00
|
|
|
url "http://www.catb.org/~esr/gif2png/gif2png-2.5.11.tar.gz"
|
|
|
|
sha256 "40483169d2de06f632ada1de780c36f63325844ec62892b1652193f77fc508f7"
|
2015-06-29 19:05:56 +00:00
|
|
|
|
2015-07-22 22:21:23 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-11-14 07:42:22 +00:00
|
|
|
sha256 "6d36f52b4d4aff69ea5a4599f1e8830a7cf9487e39d169d11155f915953ae51b" => :el_capitan
|
|
|
|
sha256 "51e3d439570ad14778998aa06367be48a60a2d9b278ae865fa502f60307b501f" => :yosemite
|
|
|
|
sha256 "fefb1fb3cea89f455dd7b37ead607bdeeaf0c3a3c7c342e053f2f02bac323960" => :mavericks
|
2015-07-22 22:21:23 +00:00
|
|
|
end
|
|
|
|
|
2015-06-29 19:05:56 +00:00
|
|
|
depends_on "libpng"
|
|
|
|
|
|
|
|
def install
|
2015-11-14 07:27:57 +00:00
|
|
|
system "make", "install", "prefix=#{prefix}"
|
2015-06-29 19:05:56 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
pipe_output "#{bin}/gif2png -O", File.read(test_fixtures("test.gif"))
|
|
|
|
end
|
|
|
|
end
|