homebrew-core/Formula/graphicsmagick.rb
2010-02-20 17:27:28 -08:00

24 lines
622 B
Ruby

require 'formula'
require "#{File.dirname __FILE__}/imagemagick.rb"
class Graphicsmagick < Imagemagick
url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.10/GraphicsMagick-1.3.10.tar.bz2'
homepage 'http://www.graphicsmagick.org/'
md5 '09137f1180edc6d99834e8a7b1e620e3'
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