homebrew-core/Formula/graphicsmagick.rb
Max Howell c76fcf59f4 Derive GraphicsMagick from ImageMagick
Ruby is cool init?
2009-11-07 18:22:36 +00:00

25 lines
620 B
Ruby

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