homebrew-core/Formula/graphviz.rb

28 lines
924 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/'
depends_on 'pkg-config' => :build
2010-06-18 17:58:12 +00:00
def install
2010-08-13 15:42:45 +00:00
ENV.x11
# Various language bindings fail with 32/64 issues.
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",
2010-08-13 15:42:45 +00:00
"--disable-java",
"--disable-ocaml",
"--disable-perl",
2010-03-06 14:32:32 +00:00
"--disable-php",
2010-08-13 15:42:45 +00:00
"--disable-python",
"--disable-r",
"--disable-ruby",
"--disable-sharp",
"--disable-swig"
system "make install"
end
end