26 lines
1.1 KiB
Ruby
26 lines
1.1 KiB
Ruby
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.13.tar.gz"
|
|
sha256 "997275b20338e6cfe3bd4adb084f82627c34c856bc1d67c915c397cf55146924"
|
|
|
|
bottle do
|
|
sha256 cellar: :any, arm64_big_sur: "a8b1dd6b1f3b029b7ca53f99f18caea098810634aea1a745630028e66ecc4203"
|
|
sha256 cellar: :any, big_sur: "2c3b07aba9f301e689fbc6268894e3ab3a56044741b8b4adabd6afb1d4962af1"
|
|
sha256 cellar: :any, catalina: "cfbf0572aec85f33c51bc58064e20a44de374a319bb369e46c0aab8581756253"
|
|
sha256 cellar: :any, mojave: "95c85cb74a70b1f217c3db5f4f6f6bab2b9871755435a25301bc4215015f1341"
|
|
sha256 cellar: :any, high_sierra: "fd15459a5000f08952b7609ef743d80c84749710e30b7bfbe02d68e7ccc27ed7"
|
|
sha256 cellar: :any, sierra: "25aa7ef95b5ca8e7a79bf884fa8e9c8eafb21f2887caabc3ffb40de5fda2ab26"
|
|
end
|
|
|
|
depends_on "libpng"
|
|
|
|
def install
|
|
system "make", "install", "prefix=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
pipe_output "#{bin}/gif2png -O", File.read(test_fixtures("test.gif"))
|
|
end
|
|
end
|