homebrew-core/Formula/ginac.rb
2014-02-24 14:59:52 -08:00

22 lines
601 B
Ruby

require 'formula'
class Ginac < Formula
homepage 'http://www.ginac.de/'
url 'http://www.ginac.de/ginac-1.6.2.tar.bz2'
sha1 'c93913c4c543874b2ade4f0390030641be7e0c41'
depends_on 'pkg-config' => :build
depends_on 'cln'
depends_on 'readline'
# Fixes compilation with libc++; already applied upstream
def patches
"http://www.ginac.de/ginac.git?p=ginac.git;a=commitdiff_plain;h=5bf87cea66bb2071222c2910ed68c2649a98906c"
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end