diff options
author | EuAndreh <eu@euandre.org> | 2021-02-20 03:37:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-20 03:46:54 -0300 |
commit | d3f2eed3e15a3380583c72a6f8e16cbe85614bed (patch) | |
tree | c6e0eab956c6fe606b865fe706300a05a821ac69 /Formula/fallible.rb | |
parent | Makefile: Mark "all" target as .PHONY (diff) | |
download | package-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.gz package-repository-d3f2eed3e15a3380583c72a6f8e16cbe85614bed.tar.xz |
Add Homebrew initial packaging
Diffstat (limited to '')
-rw-r--r-- | Formula/fallible.rb | 16 |
1 files changed, 16 insertions, 0 deletions
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 |