2010-10-10 13:22:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Blitz < Formula
|
2013-02-25 14:35:05 +00:00
|
|
|
homepage 'http://blitz.sourceforge.net'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/blitz/blitz/Blitz++%200.10/blitz-0.10.tar.gz'
|
2012-11-04 17:07:26 +00:00
|
|
|
sha1 '7e157ec22ed2d261e896b7de4e8e8d3bf7d780e2'
|
2012-02-10 01:47:18 +00:00
|
|
|
|
2013-09-20 15:15:51 +00:00
|
|
|
head do
|
|
|
|
url 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
|
2010-10-10 13:22:46 +00:00
|
|
|
|
2013-11-13 16:46:31 +00:00
|
|
|
depends_on :autoconf
|
2012-07-07 18:08:22 +00:00
|
|
|
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-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}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|