mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 12:29:40 -05:00
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
21 lines
580 B
Ruby
21 lines
580 B
Ruby
require 'formula'
|
|
|
|
class Graphviz <Formula
|
|
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'
|
|
|
|
def install
|
|
ENV.x11 # Put freetype-config in path
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-quartz",
|
|
"--disable-php",
|
|
"--disable-perl"
|
|
system "make install"
|
|
end
|
|
end
|