aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/afflib.rb
blob: e4e2d2bb0145403c5650eeff351adc52efb34e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Afflib < Formula
  homepage 'https://github.com/simsong/AFFLIBv3'
  url 'https://github.com/simsong/AFFLIBv3/archive/v3.7.4.tar.gz'
  sha1 '589dae6f8439e97ab080026701cd0caa0636ac22'

  depends_on :autoconf
  depends_on :automake
  depends_on :libtool
  depends_on 'expat' => :optional

  def install
    system "sh bootstrap.sh"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end