PageRenderTime 108ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/Library/Formula/blitz.rb

https://github.com/aaroncm/homebrew
Ruby | 27 lines | 22 code | 5 blank | 0 comment | 2 complexity | 6cbe4ea2b0d4c62d5ca4e1ab4893272e MD5 | raw file
  1. require 'formula'
  2. class Blitz < Formula
  3. homepage 'http://oonumerics.org/blitz'
  4. url 'http://downloads.sourceforge.net/project/blitz/blitz/Blitz%2B%2B%200.9/blitz-0.9.tar.gz'
  5. sha1 '055a4bcb47903e5c2446884d2df1494ac3e24034'
  6. head 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
  7. if ARGV.build_head?
  8. depends_on :automake
  9. depends_on :libtool
  10. end
  11. def install
  12. system "autoreconf", "-fi" if ARGV.build_head?
  13. system "./configure", "--disable-debug",
  14. "--disable-dependency-tracking",
  15. "--infodir=#{info}",
  16. "--enable-shared",
  17. "--disable-doxygen",
  18. "--disable-dot",
  19. "--prefix=#{prefix}"
  20. system "make install"
  21. end
  22. end