homebrew-core/Formula/graphicsmagick.rb

25 lines
622 B
Ruby
Raw Normal View History

require 'formula'
require "#{File.dirname __FILE__}/imagemagick.rb"
2010-02-21 01:27:28 +00:00
class Graphicsmagick < Imagemagick
2010-03-25 09:55:10 +00:00
url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.12/GraphicsMagick-1.3.12.tar.bz2'
homepage 'http://www.graphicsmagick.org/'
2010-03-25 09:55:10 +00:00
md5 '55182f371f82d5f9367bce04e59bbf25'
def deps
# well this was an unexpected consequence of the DSL syntax, the dependencies
# aren't inherited
@deps ||= Formula.factory('imagemagick').deps
end
def install
ENV.libpng
ENV.gcc_4_2
fix_configure
system "./configure", *configure_args
system "make install"
end
end