aboutsummaryrefslogblamecommitdiff
path: root/Formula/fallible-latest.rb
blob: 8c8fa964d902ee234a0642e5f0d618266cab90da (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-5c61f64e625f4f299507cb6f3b1a4dc611495f88.tar.gz'
  sha256 'ddd989f9a07fa4d239492b6cf8acbf3fbcde05b56b96206f2950a967fbf3aa2a'
  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