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

  depends_on 'valgrind' => :build

  def install
    system './configure', "--prefix=#{prefix}"
    system 'make'
    system 'make', 'check'
    system 'make', 'install'
  end
end