homebrew-core/Formula/ginac.rb

24 lines
654 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
2014-03-17 00:35:07 +00:00
patch do
url "http://www.ginac.de/ginac.git?p=ginac.git;a=commitdiff_plain;h=5bf87cea66bb2071222c2910ed68c2649a98906c"
sha1 "415dad5f0f233268ad743e5beacf99c03bb339ae"
end
def install
2013-01-28 02:44:15 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end