aboutsummaryrefslogblamecommitdiff
path: root/Formula/fallible-latest.rb
blob: fc1f736af97ec6177811935bf06c354d3e19a21d (plain) (tree)
1
2
3
4
5


                                                                     

                                                                                                           










                                              
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-593b43b15ff500476543822414fefbbc18ff33a2.tar.gz'
  sha256 'f262c372b4d1bf4deae2b2154572488d415f6cada0ebd4910dc7c1596c795c29'
  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