2009-11-05 23:16:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Giflib < Formula
|
2009-11-05 23:16:31 +00:00
|
|
|
homepage 'http://giflib.sourceforge.net/'
|
2012-05-21 21:46:24 +00:00
|
|
|
# 4.2.0 has breaking API changes; don't update until
|
|
|
|
# things in $(brew uses giflib) are compatible
|
2012-05-21 21:16:53 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/giflib/giflib-4.x/giflib-4.1.6/giflib-4.1.6.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '22680f604ec92065f04caf00b1c180ba74fb8562'
|
2009-11-05 23:16:31 +00:00
|
|
|
|
2014-01-30 09:21:23 +00:00
|
|
|
option :universal
|
|
|
|
|
2009-11-05 23:16:31 +00:00
|
|
|
def install
|
2014-01-30 09:21:23 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2012-05-21 21:16:53 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
2009-11-05 23:16:31 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|