aboutsummaryrefslogtreecommitdiff
path: root/Formula/fallible-latest.rb
blob: ce6c21a5d333878cedc656577b4cd28802e74eec (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class FallibleLatest < Formula
  desc 'Fault injection library for stress-testing failure scenarios'
  homepage 'https://fallible.euandreh.xyz'
  url 'https://git.euandreh.xyz/fallible/snapshot/fallible-76c74b3cf29bf9e7c62b328c2bcdcff534e5b663.tar.gz'
  sha256 'f0149dcd654d31ef2eedaa19731ab7d353078826d7108e46458d4bf93d902c38'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

  def install
    system 'make'
    system 'make', 'check'
    system 'make', 'install', "PREFIX=#{prefix}"
  end
end