aboutsummaryrefslogtreecommitdiff
path: root/Formula/fallible.rb
blob: 0fbdf1dbd8f82f550202bf4837caf7fe3cd9852c (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.0.tar.gz'
  sha256 '661eac346c956d2e3536ed2411dda76893f11cb9e68996b9dcd13d98573f2b44'
  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