homebrew-core/Formula/ginac.rb

23 lines
601 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Ginac < Formula
homepage 'http://www.ginac.de/'
2013-01-28 02:44:15 +00:00
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
2013-01-28 02:44:15 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end