homebrew-core/Formula/giflib.rb
2014-10-20 08:05:55 +01:00

25 lines
809 B
Ruby

require 'formula'
class Giflib < Formula
homepage 'http://giflib.sourceforge.net/'
# 4.2.0 has breaking API changes; don't update until
# things in $(brew uses giflib) are compatible
url 'https://downloads.sourceforge.net/project/giflib/giflib-4.x/giflib-4.1.6/giflib-4.1.6.tar.bz2'
sha1 '22680f604ec92065f04caf00b1c180ba74fb8562'
bottle do
cellar :any
revision 2
sha1 "4900c1066c954c77f0590d954a6f8a6b77f55cec" => :yosemite
sha1 "821919f75c26599da246cbed6593f741e6546f18" => :mavericks
sha1 "ded54061c70ed3c9d01cd566cd570963498595a8" => :mountain_lion
end
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end