From d3f2eed3e15a3380583c72a6f8e16cbe85614bed Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 20 Feb 2021 03:37:39 -0300 Subject: Add Homebrew initial packaging --- Formula/fallible.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Formula/fallible.rb (limited to 'Formula/fallible.rb') diff --git a/Formula/fallible.rb b/Formula/fallible.rb new file mode 100644 index 0000000..53d2177 --- /dev/null +++ b/Formula/fallible.rb @@ -0,0 +1,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-66a2ee41beaaffb9a9a6b521837c0967528845fa.tar.gz' + sha256 'da5c6e7ef4de276424b28095fde09b029af0b9eccaf91e8ab477bf2bc8b1b95e' + 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 -- cgit v1.3