homebrew-core/Formula/blitz.rb

29 lines
832 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Blitz < Formula
homepage 'http://blitz.sourceforge.net'
url 'https://downloads.sourceforge.net/project/blitz/blitz/Blitz++%200.10/blitz-0.10.tar.gz'
sha1 '7e157ec22ed2d261e896b7de4e8e8d3bf7d780e2'
2013-09-20 15:15:51 +00:00
head do
url 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
depends_on :autoconf
2012-07-07 18:08:22 +00:00
depends_on :automake
depends_on :libtool
end
def install
2012-08-23 04:33:24 +00:00
system "autoreconf", "-fi" if build.head?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--infodir=#{info}",
"--enable-shared",
"--disable-doxygen",
"--disable-dot",
"--prefix=#{prefix}"
system "make install"
end
end