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

class Atf < Formula
  homepage 'https://github.com/jmmv/atf'
  url 'https://github.com/jmmv/atf/releases/download/atf-0.21/atf-0.21.tar.gz'
  sha1 '7cc9d3703f7c0e00bb8ec801f7ac65ac9dc898d7'

  bottle do
    sha1 "5688f4c5066575165a7b9daf9aee4cc21f639656" => :yosemite
    sha1 "6b3e5320b3cdc1b56556f1f41f819f684055c551" => :mavericks
    sha1 "b7b43370c8bcf25b46c77b298b05e0d53098f7ad" => :mountain_lion
  end

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--sysconfdir=#{etc}"
    system 'make'
    ENV.j1
    system 'make install'
  end
end