giflib@5: import from homebrew/versions.

This commit is contained in:
Mike McQuaid 2017-03-10 18:50:34 +00:00
parent 2eb8f45c86
commit 3ae24f768b

17
Formula/giflib@5.rb Normal file
View file

@ -0,0 +1,17 @@
class GiflibAT5 < Formula
desc "Library and utilities for processing GIFs"
homepage "http://giflib.sourceforge.net/"
url "https://downloads.sourceforge.net/project/giflib/giflib-5.1.3.tar.bz2"
sha256 "5096d27805283599b01074d487ad3f8e02bd26b84d759b9017be876ca3d5b81d"
keg_only :versioned_formula
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make", "install"
end
test do
assert_match /Screen Size - Width = 1, Height = 1/, shell_output("#{bin}/giftext #{test_fixtures("test.gif")}")
end
end