homebrew-core/Formula/graphviz.rb

23 lines
628 B
Ruby
Raw Normal View History

require 'formula'
class Graphviz <Formula
2010-02-19 17:48:24 +00:00
url 'http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.26.3.tar.gz'
md5 '6f45946fa622770c45609778c0a982ee'
homepage 'http://graphviz.org/'
2010-06-18 17:58:12 +00:00
depends_on 'pkg-config'
def install
2010-06-18 17:58:12 +00:00
# Put freetype-config in path
ENV.x11
ENV.prepend 'PATH', "/usr/X11/bin", ":"
2010-02-19 17:48:24 +00:00
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
2010-03-06 14:32:32 +00:00
"--disable-quartz",
"--disable-php",
"--disable-perl"
system "make install"
end
end