PageRenderTime 27ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/Library/Formula/blitz.rb

https://bitbucket.org/zozo123/homebrew
Ruby | 27 lines | 22 code | 5 blank | 0 comment | 2 complexity | a222f6f08dfb7db5accf26267f73f0f1 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. md5 '031df2816c73e2d3bd6d667bbac19eca'
  6. head 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
  7. if ARGV.build_head? and MacOS.xcode_version >= "4.3"
  8. depends_on "automake" => :build
  9. depends_on "libtool" => :build
  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