New formula for CLN

The Class Library for Numbers (CLN) is a C++ library that provides an
efficient implementation of arbitrary precision arithmetic.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Charlie Sharpsteen 2010-06-20 21:14:49 -07:00 committed by Adam Vandenberg
parent 30dcd041bd
commit 8a083dcff1
1 changed files with 16 additions and 0 deletions

16
Formula/cln.rb Normal file
View File

@ -0,0 +1,16 @@
require 'formula'
class Cln <Formula
url 'http://www.ginac.de/CLN/cln-1.3.1.tar.bz2'
homepage 'http://www.ginac.de/CLN/'
md5 'ede584cb1cafa66d56f42a3cf420469d'
depends_on "gmp"
def install
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--with-gmp=#{HOMEBREW_PREFIX}"
system "make install"
end
end