2010-10-10 13:22:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Blitz < Formula
|
2010-10-10 13:22:46 +00:00
|
|
|
homepage 'http://oonumerics.org/blitz'
|
2012-02-10 01:47:18 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/blitz/blitz/Blitz%2B%2B%200.9/blitz-0.9.tar.gz'
|
2012-07-07 18:08:22 +00:00
|
|
|
sha1 '055a4bcb47903e5c2446884d2df1494ac3e24034'
|
2012-02-10 01:47:18 +00:00
|
|
|
|
2012-02-09 20:47:44 +00:00
|
|
|
head 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
|
2010-10-10 13:22:46 +00:00
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
if ARGV.build_head?
|
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
2012-02-29 01:44:13 +00:00
|
|
|
end
|
|
|
|
|
2010-10-10 13:22:46 +00:00
|
|
|
def install
|
2012-02-29 01:47:09 +00:00
|
|
|
system "autoreconf", "-fi" if ARGV.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}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|