aboutsummaryrefslogtreecommitdiff
path: root/Formula/fallible-latest.rb
blob: e3083c09c58a2a618da6e48994fa5d306ea1a52e (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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-7185ea059413b1bd4cb87e1f3c289ea872881ae9.tar.gz'
  sha256 'dc6018dd12f207385e5263580f54187d0ff73555091a4800810dc47d350997ec'
  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