2011-03-10 05:11:03 +00:00
|
|
|
class Blitz < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "C++ class library for scientific computing"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://blitz.sourceforge.net"
|
|
|
|
url "https://downloads.sourceforge.net/project/blitz/blitz/Blitz++%200.10/blitz-0.10.tar.gz"
|
|
|
|
sha256 "804ef0e6911d43642a2ea1894e47c6007e4c185c866a7d68bad1e4c8ac4e6f94"
|
2012-02-10 01:47:18 +00:00
|
|
|
|
2016-04-09 11:49:27 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2016-09-28 14:25:20 +00:00
|
|
|
sha256 "93ec8092122febb4110ce1da374ee5272c6270b7e83fe5da29da4e7f1f1fea6f" => :sierra
|
2016-04-09 11:49:27 +00:00
|
|
|
sha256 "dda71ed3f79b926b50f988a931794674908884a411c19b2899ab2a0996a8b71a" => :el_capitan
|
|
|
|
sha256 "eabd24b7c07c2f99b181770faacd72bab5c55149fb3d9fb846b2baaaa4faede5" => :yosemite
|
|
|
|
sha256 "4baf2939ff5cbe7e0e83944ed8984da49573eafedf826761b4c4fecd954e2592" => :mavericks
|
|
|
|
end
|
|
|
|
|
2013-09-20 15:15:51 +00:00
|
|
|
head do
|
2016-09-24 15:45:48 +00:00
|
|
|
url "http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz", :using => :hg
|
2010-10-10 13:22:46 +00:00
|
|
|
|
2014-12-04 22:38:00 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
2012-02-29 01:44:13 +00:00
|
|
|
end
|
|
|
|
|
2010-10-10 13:22:46 +00:00
|
|
|
def install
|
2012-08-23 04:33:24 +00:00
|
|
|
system "autoreconf", "-fi" if build.head?
|
2012-02-09 20:47:44 +00:00
|
|
|
|
2012-02-10 01:47:18 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2010-10-10 13:22:46 +00:00
|
|
|
"--infodir=#{info}",
|
|
|
|
"--enable-shared",
|
|
|
|
"--disable-doxygen",
|
|
|
|
"--disable-dot",
|
|
|
|
"--prefix=#{prefix}"
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2010-10-10 13:22:46 +00:00
|
|
|
end
|
|
|
|
end
|