homebrew-core/Formula/cln.rb

22 lines
559 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Cln < Formula
homepage 'http://www.ginac.de/CLN/'
url 'http://www.ginac.de/CLN/cln-1.3.3.tar.bz2'
sha1 '11c56780eb83ed54f2ad1ecef7f0dc0f609c426d'
2013-12-15 21:19:39 +00:00
depends_on 'gmp'
# Patch for Clang from MacPorts
def patches
"https://trac.macports.org/export/114806/trunk/dports/math/cln/files/patch-clang.diff"
end
def install
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--with-gmp=#{HOMEBREW_PREFIX}"
system "make install"
end
end