homebrew-core/Formula/igraph.rb

18 lines
444 B
Ruby

require 'formula'
class Igraph <Formula
url 'http://downloads.sourceforge.net/sourceforge/igraph/igraph-0.5.4.tar.gz'
homepage 'http://igraph.sourceforge.net'
md5 '47963ece64fe5f793e154e238bc6c3c3'
depends_on 'glpk'
depends_on 'gmp'
def install
fails_with_llvm "Segfault while compiling."
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end