gif2png 2.5.10 (new formula)

Closes Homebrew/homebrew#41195.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Keith Shaw 2015-06-29 12:05:56 -07:00 committed by Dominyk Tiller
parent 484035b74a
commit f784004afb

23
Formula/gif2png.rb Normal file
View file

@ -0,0 +1,23 @@
class Gif2png < Formula
desc "Convert GIFs to PNGs."
homepage "http://www.catb.org/~esr/gif2png/"
url "http://www.catb.org/~esr/gif2png/gif2png-2.5.10.tar.gz"
sha256 "3a593156f335c4ea6be68e37e09994461193f31872362de4b27ef6301492d5fd"
depends_on "libpng"
def install
# parallel install fails
# emailed bug report to upstream author on 2015-07-08
ENV.deparallelize
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
pipe_output "#{bin}/gif2png -O", File.read(test_fixtures("test.gif"))
end
end